Snippets

Joo Comment.jsx

Created by Joo last modified
var Comment = React.createClass({
  render: function() {
    return (
      <li className="animation_up">
          <div className="comment_profile">
              <img src={this.props.thumbnail} />
          </div>
          <div className="comment_content">
              <div>{this.props.author} {this.props.date}</div>
              <div>{this.props.children}</div>
          </div>
      </li>
    );
  }
});

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.