Skip to content

Commit 6625d39

Browse files
authored
fix(RangPicker): Incorrect display of prevIcon and nextIcon (#7127)
* fix(RangPicker): Incorrect display of prevIcon and nextIcon * fix: superPrevIcon and superNextIcon invalid
1 parent 67efafc commit 6625d39

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/vc-picker/RangePicker.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ export type RangePickerSharedProps<DateType> = {
129129
activePickerIndex?: 0 | 1;
130130
dateRender?: RangeDateRender<DateType>;
131131
panelRender?: (originPanel: VueNode) => VueNode;
132+
prevIcon?: VueNode;
133+
nextIcon?: VueNode;
134+
superPrevIcon?: VueNode;
135+
superNextIcon?: VueNode;
132136
};
133137

134138
type OmitPickerProps<Props> = Omit<
@@ -250,6 +254,10 @@ function RangerPicker<DateType>() {
250254
'hideDisabledOptions',
251255
'disabledMinutes',
252256
'presets',
257+
'prevIcon',
258+
'nextIcon',
259+
'superPrevIcon',
260+
'superNextIcon',
253261
] as any,
254262
setup(props, { attrs, expose }) {
255263
const needConfirmButton = computed(

0 commit comments

Comments
 (0)