import * as React from 'react' import 'emptykit.css' import { StyledPage, StyledPageContent } from './style' import { TitleHeading } from '../headings' export interface PageTheme { fontFamily?: string, color?: string, padding?: string, background?: string alignItems?: string justifyContent?: string } export interface PageProps { id?: string, title?: string, label?: string, theme?: PageTheme, children?: React.ReactNode } class Page extends React.PureComponent { render () { const { id, title, label, theme, children } = this.props return ( { title && } {children} ) } } export default Page