Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
building DisplayList Component
  • Loading branch information
neerajsingh0101 committed Aug 22, 2015
1 parent d64806c commit fe3a3de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ep05-displaylist-component/app/components/App.jsx
@@ -1,4 +1,5 @@
import React from 'react';
import DisplayList from './DisplayList';

export default class App extends React.Component {

Expand Down Expand Up @@ -35,6 +36,8 @@ export default class App extends React.Component {
<p>
{ this.state.items.toString() }
</p>

<DisplayList items={this.state.items} />
</div>;
}
}
8 changes: 8 additions & 0 deletions ep05-displaylist-component/app/components/DisplayList.jsx
@@ -0,0 +1,8 @@
import React from 'react';

export default class DisplayList extends React.Component {
render() {
return <div> This is DisplayList</div>;
}
}

0 comments on commit fe3a3de

Please sign in to comment.