mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +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'
|
||||
|
||||
export interface DropdownItem {
|
||||
to?: string | RouteLocationRaw
|
||||
exact?: boolean
|
||||
export interface DropdownItem extends NuxtLinkProps {
|
||||
label: string
|
||||
slot?: string
|
||||
icon?: string
|
||||
|
||||
Reference in New Issue
Block a user