From 9c69024cf5961c3c71fb58e4237f09a513d195b1 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 31 Aug 2023 00:30:35 +0800 Subject: Minor buttons --- FrontEnd/src/components/button/LoadingButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FrontEnd/src/components/button/LoadingButton.tsx') 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; } -- cgit v1.2.3