File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ interface MergedRangePickerProps<DateType>
9797
9898function InternalRangePicker < DateType > (
9999 props : RangePickerProps < DateType > & {
100- pickerRef : React . Ref < Picker > ;
100+ pickerRef : React . Ref < Picker < DateType > > ;
101101 } ,
102102) {
103103 const {
@@ -126,7 +126,7 @@ function InternalRangePicker<DateType>(
126126 onFocus,
127127 onBlur,
128128 } = props as MergedRangePickerProps < DateType > & {
129- pickerRef : React . Ref < Picker > ;
129+ pickerRef : React . Ref < Picker < DateType > > ;
130130 } ;
131131
132132 const formatList = toArray (
@@ -360,7 +360,7 @@ function InternalRangePicker<DateType>(
360360class RangePicker < DateType > extends React . Component <
361361 RangePickerProps < DateType >
362362> {
363- pickerRef = React . createRef < HTMLInputElement > ( ) ;
363+ pickerRef = React . createRef < Picker < DateType > > ( ) ;
364364
365365 focus = ( ) => {
366366 if ( this . pickerRef . current ) {
You can’t perform that action at this time.
0 commit comments