From 32efb8ca510a9f6ab533722883f621e45c24c79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zarach?= Date: Tue, 9 Jul 2024 18:05:23 +0200 Subject: [PATCH] fix(VDatePickerControls): wrong icon types (#20121) --- .../src/components/VDatePicker/VDatePickerControls.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/vuetify/src/components/VDatePicker/VDatePickerControls.tsx b/packages/vuetify/src/components/VDatePicker/VDatePickerControls.tsx index 06f82c670be..4d66e80bc38 100644 --- a/packages/vuetify/src/components/VDatePicker/VDatePickerControls.tsx +++ b/packages/vuetify/src/components/VDatePicker/VDatePickerControls.tsx @@ -5,6 +5,9 @@ import './VDatePickerControls.sass' import { VBtn } from '@/components/VBtn' import { VSpacer } from '@/components/VGrid' +// Composables +import { IconValue } from '@/composables/icons' + // Utilities import { computed } from 'vue' import { genericComponent, propsFactory, useRender } from '@/util' @@ -22,15 +25,15 @@ export const makeVDatePickerControlsProps = propsFactory({ default: false, }, nextIcon: { - type: [String], + type: IconValue, default: '$next', }, prevIcon: { - type: [String], + type: IconValue, default: '$prev', }, modeIcon: { - type: [String], + type: IconValue, default: '$subgroup', }, text: String,