fix(Breadcrumb): render as nav

Resolves #2649
This commit is contained in:
Benjamin Canac
2024-11-15 09:52:42 +01:00
parent 8ed434c105
commit 756f791a1a
4 changed files with 73 additions and 45 deletions

View File

@@ -25,6 +25,7 @@ describe('Breadcrumb', () => {
it.each([
// Props
['with items', { props }],
['with as', { props: { ...props, as: 'div' } }],
['with labelKey', { props: { ...props, labelKey: 'icon' } }],
['with separatorIcon', { props: { ...props, separatorIcon: 'i-lucide-minus' } }],
['with class', { props: { ...props, class: 'w-48' } }],