aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/components/button/LoadingButton.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-31 00:30:35 +0800
committercrupest <crupest@outlook.com>2023-08-31 00:30:35 +0800
commit9c69024cf5961c3c71fb58e4237f09a513d195b1 (patch)
treee3986003da3b261f3f0f96c24166fed016ff8b48 /FrontEnd/src/components/button/LoadingButton.tsx
parent97c3d6f302e236a273d64ddffc632f18ed967cbc (diff)
downloadtimeline-9c69024cf5961c3c71fb58e4237f09a513d195b1.tar.gz
timeline-9c69024cf5961c3c71fb58e4237f09a513d195b1.tar.bz2
timeline-9c69024cf5961c3c71fb58e4237f09a513d195b1.zip
Minor buttons
Diffstat (limited to 'FrontEnd/src/components/button/LoadingButton.tsx')
-rw-r--r--FrontEnd/src/components/button/LoadingButton.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/components/button/LoadingButton.tsx b/FrontEnd/src/components/button/LoadingButton.tsx
index d9d41ddb..9d65a2b3 100644
--- a/FrontEnd/src/components/button/LoadingButton.tsx
+++ b/FrontEnd/src/components/button/LoadingButton.tsx
@@ -1,12 +1,12 @@
import classNames from "classnames";
-import { I18nText, ThemeColor, useC } from "../common";
+import { I18nText, ClickableColor, useC } from "../common";
import Spinner from "../Spinner";
import "./LoadingButton.css";
interface LoadingButtonProps extends React.ComponentPropsWithoutRef<"button"> {
- color?: ThemeColor;
+ color?: ClickableColor;
text?: I18nText;
loading?: boolean;
}