import React , { FunctionComponent } from 'react' ; type ButtonProps = { className ? : string ; } & React . DOMAttributes < HTMLButtonElement > ; export const Button = ( { className = '' , children , ... props } ) => { return ( < button className = { `button ${ className }` } { ... props } > { children } < /button>); } ;