Last active
November 22, 2015 20:50
-
-
Save heyjohnmurray/49eeb6313c1313674155 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx React.DOM */ | |
var React = require('react'); | |
var App = React.createClass({ | |
render: function() { | |
var text = this.props.text; | |
return ( | |
<h1>{text}</h1> | |
); | |
} | |
}); | |
module.exports = App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment