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

@@ -1,5 +1,6 @@
import type { Link } from './link'
import type { Avatar } from './avatar'
import type { Badge } from './badge'
export interface VerticalNavigationLink extends Link {
label: string
@@ -8,5 +9,5 @@ export interface VerticalNavigationLink extends Link {
iconClass?: string
avatar?: Avatar
click?: Function
badge?: string | number
badge?: string | number | Badge
}