File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export interface RangePickerSharedProps<DateType> {
4141 | Exclude < RangeValue < DateType > , null >
4242 | ( ( ) => Exclude < RangeValue < DateType > , null > )
4343 > ;
44- separator ?: string ;
44+ separator ?: React . ReactNode ;
4545 allowEmpty ?: [ boolean , boolean ] ;
4646 selectable ?: [ boolean , boolean ] ;
4747 onChange ?: (
Original file line number Diff line number Diff line change @@ -109,6 +109,16 @@ function DateBody<DateType>({
109109 rangedValue && rangedValue [ 1 ] ,
110110 currentDate ,
111111 ) ,
112+ [ `${ datePrefixCls } -range-start` ] : isSameDate (
113+ generateConfig ,
114+ rangedValue && rangedValue [ 0 ] ,
115+ currentDate ,
116+ ) ,
117+ [ `${ datePrefixCls } -range-end` ] : isSameDate (
118+ generateConfig ,
119+ rangedValue && rangedValue [ 1 ] ,
120+ currentDate ,
121+ ) ,
112122 [ `${ datePrefixCls } -today` ] : isSameDate (
113123 generateConfig ,
114124 today ,
You can’t perform that action at this time.
0 commit comments