import scss from './common.module.scss' ; type ButtonProps = React . DetailedHTMLProps < React . ButtonHTMLAttributes < HTMLButtonElement > , HTMLButtonElement > ; export const Button = ( { children , ... props } ) => { return ( < button { ... props } className = { scss . button } > { children } < /button>); } ; export default Button ;