Last active
April 15, 2016 07:21
-
-
Save neok/9f9cf80565ff44246bcaea1f6f8151df to your computer and use it in GitHub Desktop.
react-simple.js
This file contains hidden or 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
var React = require('react'); | |
var About = React.createClass({ | |
render: function() { | |
return ( | |
<div className="about"> | |
<p>About page</p> | |
<img src="/public/img/react-logo.png" alt="img" /> | |
</div>); | |
} | |
}); | |
module.exports = { | |
About: About | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment