Skip to content

Instantly share code, notes, and snippets.

@a0r1an
Created July 19, 2017 04:13
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 a0r1an/8ec89fa1965d615747d20d74c157f5a0 to your computer and use it in GitHub Desktop.
Save a0r1an/8ec89fa1965d615747d20d74c157f5a0 to your computer and use it in GitHub Desktop.
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