diff --git a/components/vc-picker/Picker.tsx b/components/vc-picker/Picker.tsx index 1607528d2..c7ae24110 100644 --- a/components/vc-picker/Picker.tsx +++ b/components/vc-picker/Picker.tsx @@ -81,6 +81,7 @@ export type PickerSharedProps = { // Events onChange?: (value: DateType | null, dateString: string) => void; onOpenChange?: (open: boolean) => void; + onPanelChange?: (values: RangeValue, modes: [PanelMode, PanelMode]) => void; onFocus?: FocusEventHandler; onBlur?: FocusEventHandler; onMousedown?: MouseEventHandler; @@ -176,6 +177,7 @@ function Picker() { 'inputRender', 'onChange', 'onOpenChange', + 'onPanelChange', 'onFocus', 'onBlur', 'onMousedown',