From 48353f70a58f500cd451b65afce4b60d1074f720 Mon Sep 17 00:00:00 2001 From: harlan Date: Mon, 11 Mar 2024 20:00:20 +1100 Subject: [PATCH] fix: breadcrumb `to` optional Fixes #194 --- src/runtime/nuxt/composables/useBreadcrumbItems.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/nuxt/composables/useBreadcrumbItems.ts b/src/runtime/nuxt/composables/useBreadcrumbItems.ts index d3323474..966c88e7 100644 --- a/src/runtime/nuxt/composables/useBreadcrumbItems.ts +++ b/src/runtime/nuxt/composables/useBreadcrumbItems.ts @@ -87,7 +87,7 @@ export interface BreadcrumbItemProps extends NuxtUIBreadcrumbItem { * @default 'page' */ ariaCurrent?: 'page' | 'step' | 'location' | 'date' | 'time' | boolean | 'true' | 'false' - to: string + to?: string ariaLabel?: string separator?: boolean | string class?: (string | string[] | undefined)[] | string