fix: DatePicker panelChange(#7059)

onPanelChange事件缺少
pull/7102/head
w-z-y 1 year ago committed by GitHub
parent 2510608665
commit 8cf6be11f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
@ -176,6 +177,7 @@ function Picker<DateType>() {
'inputRender',
'onChange',
'onOpenChange',
'onPanelChange',
'onFocus',
'onBlur',
'onMousedown',

Loading…
Cancel
Save