mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
chore(DropdownMenu/ContextMenu): item type default to link
This commit is contained in:
@@ -19,9 +19,9 @@ export interface ContextMenuItem extends Omit<LinkProps, 'type' | 'custom'>, Pic
|
|||||||
kbds?: KbdProps['value'][] | KbdProps[]
|
kbds?: KbdProps['value'][] | KbdProps[]
|
||||||
/**
|
/**
|
||||||
* The item type.
|
* The item type.
|
||||||
* @defaultValue `'item'`
|
* @defaultValue `'link'`
|
||||||
*/
|
*/
|
||||||
type?: 'label' | 'separator' | 'item'
|
type?: 'label' | 'separator' | 'link'
|
||||||
slot?: string
|
slot?: string
|
||||||
open?: boolean
|
open?: boolean
|
||||||
defaultOpen?: boolean
|
defaultOpen?: boolean
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ export interface DropdownMenuItem extends Omit<LinkProps, 'type' | 'custom'>, Pi
|
|||||||
kbds?: KbdProps['value'][] | KbdProps[]
|
kbds?: KbdProps['value'][] | KbdProps[]
|
||||||
/**
|
/**
|
||||||
* The item type.
|
* The item type.
|
||||||
* @defaultValue `'item'`
|
* @defaultValue `'link'`
|
||||||
*/
|
*/
|
||||||
type?: 'label' | 'separator' | 'item'
|
type?: 'label' | 'separator' | 'link'
|
||||||
slot?: string
|
slot?: string
|
||||||
open?: boolean
|
open?: boolean
|
||||||
defaultOpen?: boolean
|
defaultOpen?: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user