comments list

master
Matt Huntington 9 years ago
parent 8db85c4de1
commit a79975c9b8

@ -1,8 +1,12 @@
import React from 'react'; import React from 'react';
import CommentsList from './CommentsList.js';
class App extends React.Component { class App extends React.Component {
render() { render() {
return <h1>Hello!</h1>; return <section>
<CommentsList/>
<p>Oh hai</p>
</section>
} }
} }

@ -0,0 +1,11 @@
import React from 'react';
class CommentsList extends React.Component {
render() {
return <ul>
<li>comments list</li>
</ul>
}
}
export default CommentsList;
Loading…
Cancel
Save