add TimePicker

Signed-off-by: yaoyuchi <yaoyuchi@huawei.com>
This commit is contained in:
yaoyuchi
2022-03-12 17:57:42 +08:00
parent 25f8478fa7
commit 4df594fcb8
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"name": "TimePicker",
"attrs": ["onChange", "useMilitaryTime"]
}
+2 -1
View File
@@ -86,7 +86,8 @@ export const JS_BIND_COMPONENTS: Set<string> = new Set([
'TabsController', 'CalendarController', 'AbilityController', 'VideoController', 'WebController',
'XComponentController', 'CanvasRenderingContext2D', 'CanvasGradient', 'ImageBitmap', 'ImageData',
'Path2D', 'RenderingContextSettings', 'OffscreenCanvasRenderingContext2D', 'DatePickerDialog',
'TextPickerDialog', 'AlertDialog', 'ContextMenu', 'ActionSheet', 'PatternLockController'
'TextPickerDialog', 'AlertDialog', 'ContextMenu', 'ActionSheet', 'PatternLockController',
'TimePickerDialog'
]);
export const NEEDPOP_COMPONENT: Set<string> = new Set(['Blank', 'Search']);