Skip to content

Instantly share code, notes, and snippets.

@velopert

velopert/App.js Secret

Created January 14, 2017 13:25
Show Gist options
  • Save velopert/01d912ab7a84ff1c1db4e440f7bc493c to your computer and use it in GitHub Desktop.
Save velopert/01d912ab7a84ff1c1db4e440f7bc493c to your computer and use it in GitHub Desktop.
import React, {Component} from 'react';
import Header from './components/Header';
class App extends Component {
render() {
return (
<div>
<Header/>
{this.props.children}
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment