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 // Events
onChange?: (value: DateType | null, dateString: string) => void; onChange?: (value: DateType | null, dateString: string) => void;
onOpenChange?: (open: boolean) => void; onOpenChange?: (open: boolean) => void;
onPanelChange?: (values: RangeValue<DateType>, modes: [PanelMode, PanelMode]) => void;
onFocus?: FocusEventHandler; onFocus?: FocusEventHandler;
onBlur?: FocusEventHandler; onBlur?: FocusEventHandler;
onMousedown?: MouseEventHandler; onMousedown?: MouseEventHandler;
@ -176,6 +177,7 @@ function Picker<DateType>() {
'inputRender', 'inputRender',
'onChange', 'onChange',
'onOpenChange', 'onOpenChange',
'onPanelChange',
'onFocus', 'onFocus',
'onBlur', 'onBlur',
'onMousedown', 'onMousedown',

Loading…
Cancel
Save