From ae48ac24c5533653f1e1f1e6d2a33e0238222297 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 24 Jul 2023 00:41:53 +0800 Subject: ... --- FrontEnd/src/views/common/input/InputPanel.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'FrontEnd/src/views/common') 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; -- cgit v1.2.3