import type { ButtonProps as MuiButtonProps } from '@mui/material/Button'; import type { CustomIconProps } from '../custom-icon'; export interface ButtonProps extends Omit { color?: 'primary' | 'secondary' | 'third' | 'error'; /** * Start icon SVG URL. */ startIconUrl?: string; /** * End icon SVG URL. */ endIconUrl?: string; active?: boolean; changed?: boolean; customSize?: CustomIconProps['customSize']; onBtnClick?: React.MouseEventHandler; /** * If click area equals to `false` then it will override size and variant * prop and provide a textual button with no padding and line height. */ clickArea?: boolean; }