feat(VerticalNavigation)!: use Badge component for consistency

This commit is contained in:
Benjamin Canac
2024-01-24 17:03:25 +01:00
parent 5ff566f0a4
commit 3e81eee6e6
4 changed files with 19 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ Pass an array to the `links` prop of the VerticalNavigation component. Each link
- `icon` - The icon of the link.
- `iconClass` - The class of the link icon.
- `avatar` - The avatar of the link. You can pass all the props of the [Avatar](/elements/avatar) component.
- `badge` - A badge to display next to the label.
- `badge` - A badge to display next to the label. You can pass all the props of the [Badge](/elements/badge) component.
- `click` - The click handler of the link.
You can also pass any property from the [NuxtLink](https://nuxt.com/docs/api/components/nuxt-link#props) component such as `to`, `exact`, etc.