import React from 'react' function withApp (Child) { return class WrappedComponent extends React.Component { static getInitialProps (context) { return Child.getInitialProps(context) } render () { return (

Header

) } } } export default withApp