There was an error while loading. Please reload this page.
2 parents 969262a + dbd096a commit 48f5ba6Copy full SHA for 48f5ba6
src/components/app.js
@@ -1,12 +1,13 @@
1
import React, { Component } from 'react';
2
import Alex from './alex'
3
-
+import Josh from './josh'
4
class App extends Component {
5
render() {
6
return (
7
<div>
8
<h1>React simple starter</h1>
9
<Alex />
10
+ <Josh/>
11
</div>
12
);
13
}
src/components/josh.js
@@ -0,0 +1,13 @@
+import React, { Component } from 'react';
+
+ class Josh extends Component {
+ render() {
+ return (
+ <div>
+ Joshua
+ </div>
+ );
+ }
+}
+export default Josh
0 commit comments