import { FunctionComponent } from 'react'; interface FormButtonProps { children: string; type: 'button' | 'submit' | 'reset'; className?: string; } const Button: FunctionComponent = ({ children, type, className }) => ( // eslint-disable-next-line react/button-has-type ); Button.defaultProps = { className: '', }; export default Button;