4 changed files with 24 additions and 18 deletions
@ -1,9 +1,9 @@ |
|||
import React from 'react'; |
|||
import PageHeader from '../components/PageHeader'; |
|||
|
|||
export default ({ children, ...restProps }) => ( |
|||
<div style={{ margin: -24 }}> |
|||
export default ({ children, wrapperClassName, ...restProps }) => ( |
|||
<div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
|||
<PageHeader {...restProps} /> |
|||
{children ? <div style={{ margin: 24 }}>{children}</div> : null} |
|||
{children ? <div style={{ margin: '24px 24px 0' }}>{children}</div> : null} |
|||
</div> |
|||
); |
|||
|
|||
Loading…
Reference in new issue