jsx import { CSSObject , jsx } from '@emotion/core' ; import React from 'react' ; import { COLOR } from '../Identity' ; export type BoxProps < T = HTMLDivElement > = React . HTMLProps < T > ; export const boxStyle = props => ( { border : `2px solid ${ COLOR . GRAY_LIGHTEN_72 }` , borderRadius : '8px' , padding : '16px 32px' , } ) ; export const Box = ( props ) => < div css = { boxStyle ( props ) } { ... props } />;