Skip to content

Commit b18becb

Browse files
committed
Create CommentBox.jsx
1 parent fee33b2 commit b18becb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import React from 'react';
2+
import CommentList from './CommentList.jsx';
3+
import CommentForm from './CommentForm.jsx';
4+
5+
class CommentBox extends React.Component {
6+
render() {
7+
return (
8+
<div>
9+
<CommentList comments={this.props.comments} />
10+
<CommentForm url={this.props.url} xsrf={this.props.xsrf}/>
11+
</div>
12+
);
13+
}
14+
}
15+
16+
export default CommentBox;

0 commit comments

Comments
 (0)