mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 06:21:46 +01:00
chore(VerticalNavigation): add Link type
This commit is contained in:
1
src/runtime/types/index.d.ts
vendored
1
src/runtime/types/index.d.ts
vendored
@@ -4,3 +4,4 @@ export * from './clipboard'
|
||||
export * from './command-palette'
|
||||
export * from './notification'
|
||||
export * from './popper'
|
||||
export * from './vertical-navigation'
|
||||
|
||||
13
src/runtime/types/vertical-navigation.d.ts
vendored
Normal file
13
src/runtime/types/vertical-navigation.d.ts
vendored
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user