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