File tree Expand file tree Collapse file tree 2 files changed +118
-477
lines changed Expand file tree Collapse file tree 2 files changed +118
-477
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ export type RangePickerSharedProps<DateType> = {
102102 onPanelChange ?: ( values : RangeValue < DateType > , modes : [ PanelMode , PanelMode ] ) => void ;
103103 onFocus ?: React . FocusEventHandler < HTMLInputElement > ;
104104 onBlur ?: React . FocusEventHandler < HTMLInputElement > ;
105+ onMouseEnter ?: React . MouseEventHandler < HTMLDivElement > ;
106+ onMouseLeave ?: React . MouseEventHandler < HTMLDivElement > ;
105107 onOk ?: ( dates : RangeValue < DateType > ) => void ;
106108 direction ?: 'ltr' | 'rtl' ;
107109 autoComplete ?: string ;
@@ -204,6 +206,8 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
204206 onCalendarChange,
205207 onFocus,
206208 onBlur,
209+ onMouseEnter,
210+ onMouseLeave,
207211 onOk,
208212 onKeyDown,
209213 components,
@@ -1080,6 +1084,8 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
10801084 } ) }
10811085 style = { style }
10821086 onClick = { onPickerClick }
1087+ onMouseEnter = { onMouseEnter }
1088+ onMouseLeave = { onMouseLeave }
10831089 onMouseDown = { onPickerMouseDown }
10841090 { ...getDataOrAriaProps ( props ) }
10851091 >
You can’t perform that action at this time.
0 commit comments