Skip to content

Commit

Permalink
fix: DatePicker panelChange(#7059)
Browse files Browse the repository at this point in the history
onPanelChange事件缺少
  • Loading branch information
w-z-y authored Nov 11, 2023
1 parent 2510608 commit 8cf6be1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/vc-picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export type PickerSharedProps<DateType> = {
// Events
onChange?: (value: DateType | null, dateString: string) => void;
onOpenChange?: (open: boolean) => void;
onPanelChange?: (values: RangeValue<DateType>, modes: [PanelMode, PanelMode]) => void;
onFocus?: FocusEventHandler;
onBlur?: FocusEventHandler;
onMousedown?: MouseEventHandler;
Expand Down Expand Up @@ -176,6 +177,7 @@ function Picker<DateType>() {
'inputRender',
'onChange',
'onOpenChange',
'onPanelChange',
'onFocus',
'onBlur',
'onMousedown',
Expand Down

0 comments on commit 8cf6be1

Please sign in to comment.