feat(useKbd): new composable (#73)

This commit is contained in:
Benjamin Canac
2024-04-23 11:52:09 +02:00
committed by GitHub
parent 89ff6b6702
commit f076019f8f
14 changed files with 153 additions and 87 deletions

View File

@@ -16,7 +16,7 @@ export interface DropdownMenuItem extends Omit<LinkProps, 'type'> {
avatar?: AvatarProps
disabled?: boolean
content?: Omit<DropdownMenuContentProps, 'asChild' | 'forceMount'>
shortcuts?: string[] | KbdProps[]
kbds?: KbdProps['value'][] | KbdProps[]
/**
* The item type.
* @defaultValue "link"