From 2adc578d285c2b81671e3b7ffa334b1135cdc446 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 11 Nov 2020 17:31:30 +0000 Subject: [PATCH] mark the onClick prop required on AccessibleButton --- src/components/views/elements/AccessibleButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/AccessibleButton.tsx b/src/components/views/elements/AccessibleButton.tsx index ae822204df..e634057a21 100644 --- a/src/components/views/elements/AccessibleButton.tsx +++ b/src/components/views/elements/AccessibleButton.tsx @@ -39,7 +39,7 @@ interface IProps extends React.InputHTMLAttributes { tabIndex?: number; disabled?: boolean; className?: string; - onClick?(e?: ButtonEvent): void; + onClick(e?: ButtonEvent): void; } interface IAccessibleButtonProps extends React.InputHTMLAttributes {