Skip to content

Instantly share code, notes, and snippets.

@joostory
Last active December 22, 2015 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joostory/9ec38ac95deadc165a00 to your computer and use it in GitHub Desktop.
Save joostory/9ec38ac95deadc165a00 to your computer and use it in GitHub Desktop.
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>
);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment