import React , { ReactNode } from 'react' ; import { useStyles } from './PageWrapper.styles' ; export interface PageWrapperProps { children : ReactNode ; } export const PageWrapper = ( { children } ) => { const classes = useStyles ( ) ; return < div className = { classes . wrapper } > { children } < /div>; } ;