
import { withStyles } from '@material-ui/core/styles'
import Header from './Header'
import Messager from './Messager'

const layoutStyle = {
 root:{
   '& a':{
     textDecoration:'none!important',
     color:'#111'
   }
 }
}

const Layout = (props) => (
  <div className={props.classes.root} >
    <Messager/>
    <Header menu={props.menu} />
    {props.children}
  </div>
)

export default withStyles(layoutStyle)(Layout);