Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import React, { Component } from 'react';
  2.  
  3. class CommentBox extends Component {
  4. render() {
  5. return(
  6.  
  7. var CommentBox = React.createClass({
  8. render: function() {
  9. return (
  10. <div className="commentBox">
  11. <h1>WOO My Comment Boxario</h1>
  12. <CommentList data={this.props.data} />
  13. <CommentForm />
  14. </div>
  15. );
  16. }
  17. });
  18.  
  19. );
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement