jsx import { CSSObject , jsx } from '@emotion/core' ; import React from 'react' ; export type HeaderProps < T = HTMLHeadingElement > = React . HTMLProps < T > ; export const headerStyle = props => ( { alignItems : 'center' , display : 'flex' , height : '64px' , justifyContent : 'space-between' , } ) ; export const Header = ( props ) => < header css = { headerStyle ( props ) } { ... props } />;