aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/button
diff options
context:
space:
mode:
authorLibravatar Muhamed <unknown>2022-11-07 01:11:48 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-11-08 17:25:27 +0530
commita1f5e31bfce97b4bbe492e24bf7d57ec2803c31a (patch)
tree881417b8917e8212fcf94547b92bba2701592745 /src/components/ui/button
parent6.2.1-nightly.42 [skip ci] (diff)
downloadferdium-app-a1f5e31bfce97b4bbe492e24bf7d57ec2803c31a.tar.gz
ferdium-app-a1f5e31bfce97b4bbe492e24bf7d57ec2803c31a.tar.zst
ferdium-app-a1f5e31bfce97b4bbe492e24bf7d57ec2803c31a.zip
refactor: remove toggle component's duplicate
Diffstat (limited to 'src/components/ui/button')
-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;