mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 11:20:36 +01:00
chore(DropdownMenu): add comment on type
This commit is contained in:
@@ -17,6 +17,10 @@ export interface DropdownMenuItem extends Omit<LinkProps, 'type'> {
|
|||||||
disabled?: boolean
|
disabled?: boolean
|
||||||
content?: Omit<DropdownMenuContentProps, 'asChild' | 'forceMount'>
|
content?: Omit<DropdownMenuContentProps, 'asChild' | 'forceMount'>
|
||||||
shortcuts?: string[] | KbdProps[]
|
shortcuts?: string[] | KbdProps[]
|
||||||
|
/**
|
||||||
|
* The item type.
|
||||||
|
* @defaultValue "item"
|
||||||
|
*/
|
||||||
type?: 'label' | 'item'
|
type?: 'label' | 'item'
|
||||||
slot?: string
|
slot?: string
|
||||||
open?: boolean
|
open?: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user