We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fee33b2 commit b18becbCopy full SHA for b18becb
examples/Tornado-example/static/js/CommentBox.jsx
@@ -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