mark the onClick prop required on AccessibleButton

This commit is contained in:
Michael Telatynski 2020-11-11 17:31:30 +00:00
parent 1a2bd55c09
commit 2adc578d28

View file

@ -39,7 +39,7 @@ interface IProps extends React.InputHTMLAttributes<Element> {
tabIndex?: number; tabIndex?: number;
disabled?: boolean; disabled?: boolean;
className?: string; className?: string;
onClick?(e?: ButtonEvent): void; onClick(e?: ButtonEvent): void;
} }
interface IAccessibleButtonProps extends React.InputHTMLAttributes<Element> { interface IAccessibleButtonProps extends React.InputHTMLAttributes<Element> {