diff options
author | crupest <crupest@outlook.com> | 2023-07-24 00:41:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-24 00:41:53 +0800 |
commit | ae48ac24c5533653f1e1f1e6d2a33e0238222297 (patch) | |
tree | fe25c677bbd8f6cdc2f6abfc9b4bbb7f2bb47ff6 /FrontEnd/src/views/common/input | |
parent | c7934c59cb17a4266ea882cdb40be79f22043d10 (diff) | |
download | timeline-ae48ac24c5533653f1e1f1e6d2a33e0238222297.tar.gz timeline-ae48ac24c5533653f1e1f1e6d2a33e0238222297.tar.bz2 timeline-ae48ac24c5533653f1e1f1e6d2a33e0238222297.zip |
...
Diffstat (limited to 'FrontEnd/src/views/common/input')
-rw-r--r-- | FrontEnd/src/views/common/input/InputPanel.tsx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/FrontEnd/src/views/common/input/InputPanel.tsx b/FrontEnd/src/views/common/input/InputPanel.tsx index 27937a05..e0db3787 100644 --- a/FrontEnd/src/views/common/input/InputPanel.tsx +++ b/FrontEnd/src/views/common/input/InputPanel.tsx @@ -31,23 +31,13 @@ export interface SelectInput { options: SelectInputOption[]; } -export interface ColorInput { - type: "color"; - label?: I18nText; -} - export interface DateTimeInput { type: "datetime"; label?: I18nText; helper?: I18nText; } -export type Input = - | TextInput - | BoolInput - | SelectInput - | ColorInput - | DateTimeInput; +export type Input = TextInput | BoolInput | SelectInput | DateTimeInput; interface InputTypeToValueTypeMap { text: string; |