import { ButtonHTMLAttributes } from 'react'; interface IProps { onClick: () => void; name: string; type?: ButtonHTMLAttributes['type']; } const ButtonSecondary = ({ name, onClick, type = 'button' }: IProps) => { return ( ); }; export default ButtonSecondary;