mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 13:17:57 +01:00
chore(Dropdown): extend types from NuxtLinkProps
This commit is contained in:
6
src/runtime/types/dropdown.d.ts
vendored
6
src/runtime/types/dropdown.d.ts
vendored
@@ -1,9 +1,7 @@
|
|||||||
import type { RouteLocationRaw } from 'vue-router'
|
import type { NuxtLinkProps } from '#app'
|
||||||
import type { Avatar } from './avatar'
|
import type { Avatar } from './avatar'
|
||||||
|
|
||||||
export interface DropdownItem {
|
export interface DropdownItem extends NuxtLinkProps {
|
||||||
to?: string | RouteLocationRaw
|
|
||||||
exact?: boolean
|
|
||||||
label: string
|
label: string
|
||||||
slot?: string
|
slot?: string
|
||||||
icon?: string
|
icon?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user