From 5676e181b581a332d93b1c821ab9e145f2c69784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zarach?= Date: Tue, 9 Jul 2024 17:49:15 +0200 Subject: [PATCH] fix(VDataTableFooter): wrong icon types (#20107) --- .../src/components/VDataTable/VDataTableFooter.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/vuetify/src/components/VDataTable/VDataTableFooter.tsx b/packages/vuetify/src/components/VDataTable/VDataTableFooter.tsx index b75b8cf6200..6c2737e8292 100644 --- a/packages/vuetify/src/components/VDataTable/VDataTableFooter.tsx +++ b/packages/vuetify/src/components/VDataTable/VDataTableFooter.tsx @@ -7,6 +7,7 @@ import { VSelect } from '@/components/VSelect' // Composables import { usePagination } from './composables/paginate' +import { IconValue } from '@/composables/icons' import { useLocale } from '@/composables/locale' // Utilities @@ -18,19 +19,19 @@ import type { PropType } from 'vue' export const makeVDataTableFooterProps = propsFactory({ prevIcon: { - type: String, + type: IconValue, default: '$prev', }, nextIcon: { - type: String, + type: IconValue, default: '$next', }, firstIcon: { - type: String, + type: IconValue, default: '$first', }, lastIcon: { - type: String, + type: IconValue, default: '$last', }, itemsPerPageText: {