Skip to content

Instantly share code, notes, and snippets.

@swaathi
Created September 16, 2015 17:59
Show Gist options
  • Save swaathi/8b6bc9cab12c2ec52e24 to your computer and use it in GitHub Desktop.
Save swaathi/8b6bc9cab12c2ec52e24 to your computer and use it in GitHub Desktop.
var Song = React.createClass({
render () {
return (
<div>
<h4>{ this.props.artist } sang:</h4>
<p>{ this.props.name }</p>
</div>
)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment