From 038e6c9fa997cf75f12a5b9da34d1026542f7dac Mon Sep 17 00:00:00 2001 From: Mark Teekman Date: Sun, 16 Feb 2025 15:55:41 +0100 Subject: [PATCH] fix(breadcrumbs): make ariaLabel prop optional and align with type definitions --- Breadcrumbs.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Breadcrumbs.astro b/Breadcrumbs.astro index 706a05d..e7bd256 100644 --- a/Breadcrumbs.astro +++ b/Breadcrumbs.astro @@ -18,15 +18,16 @@ interface Props { children: BreadcrumbsItem | BreadcrumbsItem[] /** * Accessible label for the breadcrumb navigation + * @default 'Breadcrumbs' */ - ariaLabel: string + ariaLabel?: string } const { class: classNames, ariaLabel = 'Breadcrumbs' } = Astro.props ---