From 8a97d431b9d08401edd2e199e72629ae5399b614 Mon Sep 17 00:00:00 2001 From: Lucas Alencar Costa Date: Wed, 20 Sep 2023 16:36:33 -0300 Subject: [PATCH] fix type error on picker prop --- src/PickerPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PickerPanel.tsx b/src/PickerPanel.tsx index e5c64299b..46d56fe6c 100644 --- a/src/PickerPanel.tsx +++ b/src/PickerPanel.tsx @@ -99,7 +99,7 @@ export type PickerPanelBaseProps = { } & PickerPanelSharedProps; export type PickerPanelDateProps = { - picker?: 'date'; + picker?: 'time' | 'date' | 'week' | 'month' | 'year'; showToday?: boolean; showNow?: boolean;