import { HTMLProps, MouseEvent } from 'react'; import { color } from '../utils/propTypes/color'; interface IButtonProps extends HTMLProps { readonly secondary?: boolean; readonly onClick?: (event: MouseEvent) => void; readonly type?: 'reset' | 'button' | 'submit'; readonly color?: color; readonly disabled?: boolean; readonly backgroundColor?: string; readonly name?: string; } declare const Button: ({ children, type, disabled, backgroundColor, color, secondary, onClick, name, ...restProps }: IButtonProps) => JSX.Element; export default Button;