chore(DropdownMenu): add comment on type

This commit is contained in:
Benjamin Canac
2024-04-08 17:19:44 +02:00
parent 2a524b1772
commit c0ab0cdde0

View File

@@ -17,6 +17,10 @@ export interface DropdownMenuItem extends Omit<LinkProps, 'type'> {
disabled?: boolean
content?: Omit<DropdownMenuContentProps, 'asChild' | 'forceMount'>
shortcuts?: string[] | KbdProps[]
/**
* The item type.
* @defaultValue "item"
*/
type?: 'label' | 'item'
slot?: string
open?: boolean