feat(Breadcrumb): handle labelClass and merge iconClass

This commit is contained in:
Benjamin Canac
2023-12-12 19:12:01 +01:00
parent a79f7c0a34
commit f623ec1130
4 changed files with 11 additions and 5 deletions

View File

@@ -8,8 +8,9 @@ description: A list of links that indicate the current page's location within a
Pass an array to the `links` prop of the Breadcrumb component. Each link can have the following properties:
- `label` - The label of the link.
- `labelClass` - The class of the link label. :u-badge{label="New" class="!rounded-full" variant="subtle"}
- `icon` - The icon of the link.
- `iconClass` - The class of the icon link.
- `iconClass` - The class of the link icon.
You can also pass any property from the [NuxtLink](https://nuxt.com/docs/api/components/nuxt-link#props) component such as `to`, `exact`, etc.