import React from 'react' ; const style = { display : 'flex' , flexDirection : 'column' , justifyContent : 'center' , alignItems : 'center' , minHeight : '100vh' , padding : '1rem' , } ; interface Props { } const PageContainer = props => < div style = { style } > { props . children } < /div>; export default PageContainer ;