Skip to content

Commit 8a97d43

Browse files
author
Lucas Alencar Costa
committed
fix type error on picker prop
1 parent efc0bfd commit 8a97d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PickerPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export type PickerPanelBaseProps<DateType> = {
9999
} & PickerPanelSharedProps<DateType>;
100100

101101
export type PickerPanelDateProps<DateType> = {
102-
picker?: 'date';
102+
picker?: 'time' | 'date' | 'week' | 'month' | 'year';
103103
showToday?: boolean;
104104
showNow?: boolean;
105105

0 commit comments

Comments
 (0)