chore(Dropdown): extend types from NuxtLinkProps

This commit is contained in:
Benjamin Canac
2023-07-19 12:57:25 +02:00
parent b28ae68945
commit 2c454b528a

View File

@@ -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