diff options
author | crupest <crupest@outlook.com> | 2023-08-31 00:30:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-31 00:30:35 +0800 |
commit | 9c69024cf5961c3c71fb58e4237f09a513d195b1 (patch) | |
tree | e3986003da3b261f3f0f96c24166fed016ff8b48 /FrontEnd/src/components/button/Button.tsx | |
parent | 97c3d6f302e236a273d64ddffc632f18ed967cbc (diff) | |
download | timeline-9c69024cf5961c3c71fb58e4237f09a513d195b1.tar.gz timeline-9c69024cf5961c3c71fb58e4237f09a513d195b1.tar.bz2 timeline-9c69024cf5961c3c71fb58e4237f09a513d195b1.zip |
Minor buttons
Diffstat (limited to 'FrontEnd/src/components/button/Button.tsx')
-rw-r--r-- | FrontEnd/src/components/button/Button.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/components/button/Button.tsx b/FrontEnd/src/components/button/Button.tsx index 6c38e130..30ea8c11 100644 --- a/FrontEnd/src/components/button/Button.tsx +++ b/FrontEnd/src/components/button/Button.tsx @@ -1,12 +1,12 @@ import { ComponentPropsWithoutRef, Ref } from "react"; import classNames from "classnames"; -import { Text, useC, ThemeColor } from "../common"; +import { Text, useC, ClickableColor } from "../common"; import "./Button.css"; interface ButtonProps extends ComponentPropsWithoutRef<"button"> { - color?: ThemeColor; + color?: ClickableColor; text?: Text; outline?: boolean; buttonRef?: Ref<HTMLButtonElement> | null; |