fix(Dropdown): use NuxtLink with custom prop to close on select

Fixes #899
This commit is contained in:
Benjamin Canac
2023-11-14 16:26:24 +01:00
parent ded6a7f73d
commit f323379909
2 changed files with 23 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
import type { Link } from './link'
import type { NuxtLinkProps } from '#app'
import type { Avatar } from './avatar'
export interface DropdownItem extends Link {
export interface DropdownItem extends NuxtLinkProps {
label: string
slot?: string
icon?: string