|
|
@ -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',
|
|
|
|