Skip to content

Commit 017aa56

Browse files
committed
added Jared component
1 parent 969262a commit 017aa56

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎src/components/app.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import React, { Component } from 'react';
22
import Alex from './alex'
3+
import Jared from './jared'
34

45
class App extends Component {
56
render() {
67
return (
78
<div>
89
<h1>React simple starter</h1>
910
<Alex />
11+
<Jared />
1012
</div>
1113
);
1214
}

‎src/components/jared.js‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React, { Component } from 'react';
2+
3+
export default class Jared extends Component {
4+
render() {
5+
return (
6+
<div>Jared</div>
7+
);
8+
}
9+
}

0 commit comments

Comments
 (0)