aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/button/Button.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/Button.tsx
parent810185b8df1fd191cd4a5e7eb92e1986000880b1 (diff)
downloadtimeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.tar.gz
timeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.tar.bz2
timeline-c833176b638eeb1cdc8b30d4aef632a25ede3777.zip
...
Diffstat (limited to 'FrontEnd/src/views/common/button/Button.tsx')
-rw-r--r--FrontEnd/src/views/common/button/Button.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/views/common/button/Button.tsx b/FrontEnd/src/views/common/button/Button.tsx
index be605328..53f41bc1 100644
--- a/FrontEnd/src/views/common/button/Button.tsx
+++ b/FrontEnd/src/views/common/button/Button.tsx
@@ -1,13 +1,12 @@
import { ComponentPropsWithoutRef, Ref } from "react";
import classNames from "classnames";
-import { I18nText, useC } from "@/common";
-import { PaletteColorType } from "@/palette";
+import { I18nText, useC, ThemeColor } from "@/common";
import "./Button.css";
interface ButtonProps extends ComponentPropsWithoutRef<"button"> {
- color?: PaletteColorType;
+ color?: ThemeColor;
text?: I18nText;
outline?: boolean;
buttonRef?: Ref<HTMLButtonElement> | null;