From f39bd63648c2db274377d5f3ff7a5cb6ca4e22d7 Mon Sep 17 00:00:00 2001 From: yangbo <1442420648@qq.com> Date: Mon, 21 Mar 2022 23:17:13 +0800 Subject: [PATCH] yangbo198@huawei.com Signed-off-by: yangbo <1442420648@qq.com> Change-Id: I11b15c5854581e65d67284cfd424c00a447fe3cb --- compiler/components/timePicker.json | 4 ++++ compiler/tsconfig.json | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 compiler/components/timePicker.json diff --git a/compiler/components/timePicker.json b/compiler/components/timePicker.json new file mode 100644 index 0000000..0c4ea44 --- /dev/null +++ b/compiler/components/timePicker.json @@ -0,0 +1,4 @@ +{ + "name": "TimePicker", + "attrs": ["onChange", "useMilitaryTime"] +} \ No newline at end of file diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index b53c39d..2dcdc61 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -89,6 +89,7 @@ "TextArea", "TextInput", "TextTimer", + "TimePicker", "Toggle", "Video", "Web", @@ -507,6 +508,11 @@ "type": "TextTimerAttribute", "instance": "TextTimerInstance" }, + { + "name": "TimePicker", + "type": "TimePickerAttribute", + "instance": "TimePickerInstance" + }, { "name": "Toggle", "type": "ToggleAttribute",