Created
January 13, 2019 15:08
-
-
Save BiosBoy/08bed94bdc520c5bc5c7255091d3fd3c to your computer and use it in GitHub Desktop.
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
| import React from 'react'; | |
| import { Route, withRouter } from 'react-router-dom'; | |
| import { Header, Footer } from '../components'; | |
| import { Body } from '../containers/Wrappers'; | |
| import styles from '../styles/index.scss'; | |
| const CoreLayout = () => { | |
| return ( | |
| <div className={styles.appWrapper}> | |
| <Header /> | |
| <Route exact path='/' component={Body} /> | |
| <Footer /> | |
| </div> | |
| ); | |
| }; | |
| export default withRouter(CoreLayout); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment