diff options
author | crupest <crupest@outlook.com> | 2023-07-14 23:01:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-14 23:01:33 +0800 |
commit | c833176b638eeb1cdc8b30d4aef632a25ede3777 (patch) | |
tree | 3e67b72f7431734d7e8973faea90b56d8119c5ba /FrontEnd/src/views/common/button/LoadingButton.tsx | |
parent | 810185b8df1fd191cd4a5e7eb92e1986000880b1 (diff) | |
download | timeline-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.tsx | 5 |
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; } |