chore(VerticalNavigation): add Link type

This commit is contained in:
Benjamin Canac
2023-07-12 18:43:45 +02:00
parent d15e8163e7
commit 7e08e5b024
3 changed files with 16 additions and 12 deletions

View File

@@ -4,3 +4,4 @@ export * from './clipboard'
export * from './command-palette'
export * from './notification'
export * from './popper'
export * from './vertical-navigation'

View File

@@ -0,0 +1,13 @@
import type { RouteLocationRaw } from 'vue-router'
import type { Avatar } from './avatar'
export interface Link {
to?: string | RouteLocationRaw
exact?: boolean
label: string
icon?: string
iconClass?: string
avatar?: Partial<Avatar>
click?: Function
badge?: string | number
}