Created
July 19, 2017 04:13
-
-
Save a0r1an/8ec89fa1965d615747d20d74c157f5a0 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
var React = require('react'); | |
var ReactDom = require('react-dom'); | |
require('./index.css'); | |
var Header = require('./components/Header'); | |
class App extends React.Component { | |
render() { | |
return ( | |
<div className="container"> | |
<Header /> | |
</div> | |
) | |
} | |
} | |
ReactDom.render( | |
<App />, | |
document.getElementById('app') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment