Skip to content

Commit

Permalink
fix(RangPicker): Incorrect display of prevIcon and nextIcon (#7127)
Browse files Browse the repository at this point in the history
* fix(RangPicker): Incorrect display of prevIcon and nextIcon

* fix: superPrevIcon and superNextIcon invalid
  • Loading branch information
selicens authored Dec 18, 2023
1 parent 67efafc commit 6625d39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/vc-picker/RangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ export type RangePickerSharedProps<DateType> = {
activePickerIndex?: 0 | 1;
dateRender?: RangeDateRender<DateType>;
panelRender?: (originPanel: VueNode) => VueNode;
prevIcon?: VueNode;
nextIcon?: VueNode;
superPrevIcon?: VueNode;
superNextIcon?: VueNode;
};

type OmitPickerProps<Props> = Omit<
Expand Down Expand Up @@ -250,6 +254,10 @@ function RangerPicker<DateType>() {
'hideDisabledOptions',
'disabledMinutes',
'presets',
'prevIcon',
'nextIcon',
'superPrevIcon',
'superNextIcon',
] as any,
setup(props, { attrs, expose }) {
const needConfirmButton = computed(
Expand Down

0 comments on commit 6625d39

Please sign in to comment.