import React from 'react' ; import { Text , Box } from 'design' ; export default function CardEmpty ( props ) { const { title , children , ... styles } = props ; return ( < Box bg = "primary.light" p = "4" width = "100%" m = "0 auto" maxWidth = "600px" textAlign = "center" color = "text.primary" style = { { borderRadius : '6px' } } { ... styles } > < Text typography = "h4" > { title } < /Text> { children } < /Box>); }