mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
fix(Dropdown): use NuxtLink with custom prop to close on select
Fixes #899
This commit is contained in:
4
src/runtime/types/dropdown.d.ts
vendored
4
src/runtime/types/dropdown.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user