import {Layout} from 'antd'
import PageHeader from './PageHeader'

export const LayoutPortal = ({title, noSheet, ...props}) => (     
  <Layout.Content>
    <PageHeader title={title}/>
    <Layout>
      {noSheet ? props.children : (
        <Layout.Content className={'site-layout-background sheet'} {...props}/>
      )}
    </Layout>
  </Layout.Content>
)
