aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/button/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/button/index.tsx')
-rw-r--r--src/components/ui/button/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx
index c1e647bc0..dc984bf95 100644
--- a/src/components/ui/button/index.tsx
+++ b/src/components/ui/button/index.tsx
@@ -2,7 +2,7 @@ import Icon from '@mdi/react';
2import classnames from 'classnames'; 2import classnames from 'classnames';
3import { Property } from 'csstype'; 3import { Property } from 'csstype';
4import { noop } from 'lodash'; 4import { noop } from 'lodash';
5import { Component, MouseEvent } from 'react'; 5import { Component, MouseEventHandler } from 'react';
6import withStyles, { WithStylesProps } from 'react-jss'; 6import withStyles, { WithStylesProps } from 'react-jss';
7import Loader from 'react-loader'; 7import Loader from 'react-loader';
8import { Theme } from '../../../themes'; 8import { Theme } from '../../../themes';
@@ -136,7 +136,7 @@ interface IProps extends IFormField, WithStylesProps<typeof styles> {
136 disabled?: boolean; 136 disabled?: boolean;
137 id?: string; 137 id?: string;
138 type?: 'button' | 'reset' | 'submit' | undefined; 138 type?: 'button' | 'reset' | 'submit' | undefined;
139 onClick: (event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void; 139 onClick?: MouseEventHandler<HTMLInputElement>;
140 buttonType?: ButtonType; 140 buttonType?: ButtonType;
141 loaded?: boolean; 141 loaded?: boolean;
142 busy?: boolean; 142 busy?: boolean;