Skip to content

Commit 32efb8c

Browse files
authored
fix(VDatePickerControls): wrong icon types (#20121)
1 parent 81bc1f4 commit 32efb8c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/vuetify/src/components/VDatePicker/VDatePickerControls.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import './VDatePickerControls.sass'
55
import { VBtn } from '@/components/VBtn'
66
import { VSpacer } from '@/components/VGrid'
77

8+
// Composables
9+
import { IconValue } from '@/composables/icons'
10+
811
// Utilities
912
import { computed } from 'vue'
1013
import { genericComponent, propsFactory, useRender } from '@/util'
@@ -22,15 +25,15 @@ export const makeVDatePickerControlsProps = propsFactory({
2225
default: false,
2326
},
2427
nextIcon: {
25-
type: [String],
28+
type: IconValue,
2629
default: '$next',
2730
},
2831
prevIcon: {
29-
type: [String],
32+
type: IconValue,
3033
default: '$prev',
3134
},
3235
modeIcon: {
33-
type: [String],
36+
type: IconValue,
3437
default: '$subgroup',
3538
},
3639
text: String,

0 commit comments

Comments
 (0)