diff options
author | crupest <crupest@outlook.com> | 2023-07-20 23:01:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-20 23:01:58 +0800 |
commit | 2226efed8c8604a938d060d62565b611722e837c (patch) | |
tree | 1f87047fe87c66e101d6673fe09417ff62007543 /FrontEnd/src/views/common/button/Button.tsx | |
parent | 0e183074b326cf04a23ae1f1ba8dcc56166df485 (diff) | |
download | timeline-2226efed8c8604a938d060d62565b611722e837c.tar.gz timeline-2226efed8c8604a938d060d62565b611722e837c.tar.bz2 timeline-2226efed8c8604a938d060d62565b611722e837c.zip |
...
Diffstat (limited to 'FrontEnd/src/views/common/button/Button.tsx')
-rw-r--r-- | FrontEnd/src/views/common/button/Button.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/views/common/button/Button.tsx b/FrontEnd/src/views/common/button/Button.tsx index e1015f71..0f1bbf2b 100644 --- a/FrontEnd/src/views/common/button/Button.tsx +++ b/FrontEnd/src/views/common/button/Button.tsx @@ -1,13 +1,13 @@ import { ComponentPropsWithoutRef, Ref } from "react"; import classNames from "classnames"; -import { I18nText, useC, ThemeColor } from "../common"; +import { Text, useC, ThemeColor } from "../common"; import "./Button.css"; interface ButtonProps extends ComponentPropsWithoutRef<"button"> { color?: ThemeColor; - text?: I18nText; + text?: Text; outline?: boolean; buttonRef?: Ref<HTMLButtonElement> | null; } |