aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/button/LoadingButton.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-07-14 23:01:33 +0800
committercrupest <crupest@outlook.com>2023-07-14 23:01:33 +0800
commitc833176b638eeb1cdc8b30d4aef632a25ede3777 (patch)
tree3e67b72f7431734d7e8973faea90b56d8119c5ba /FrontEnd/src/views/common/button/LoadingButton.tsx
parent810185b8df1fd191cd4a5e7eb92e1986000880b1 (diff)
downloadtimeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.tar.gz
timeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.tar.bz2
timeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.zip
...
Diffstat (limited to 'FrontEnd/src/views/common/button/LoadingButton.tsx')
-rw-r--r--FrontEnd/src/views/common/button/LoadingButton.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/views/common/button/LoadingButton.tsx b/FrontEnd/src/views/common/button/LoadingButton.tsx
index fceaec27..c4cafc0c 100644
--- a/FrontEnd/src/views/common/button/LoadingButton.tsx
+++ b/FrontEnd/src/views/common/button/LoadingButton.tsx
@@ -2,13 +2,12 @@ import * as React from "react";
import classNames from "classnames";
import { useTranslation } from "react-i18next";
-import { convertI18nText, I18nText } from "@/common";
-import { PaletteColorType } from "@/palette";
+import { convertI18nText, I18nText, ThemeColor } from "@/common";
import Spinner from "../Spinner";
interface LoadingButtonProps extends React.ComponentPropsWithoutRef<"button"> {
- color?: PaletteColorType;
+ color?: ThemeColor;
text?: I18nText;
loading?: boolean;
}