feat(CommandPalette): new component (#80)

This commit is contained in:
Benjamin Canac
2024-04-30 18:14:18 +02:00
committed by GitHub
parent 559a8cba58
commit d0017bf847
30 changed files with 1832 additions and 125 deletions

View File

@@ -11,8 +11,8 @@ const popover = tv({ extend: tv(theme), ...(appConfig.ui?.popover || {}) })
export interface PopoverProps extends PopoverRootProps, Pick<HoverCardRootProps, 'openDelay' | 'closeDelay'> {
/**
* The mode of the popover.
* @defaultValue "click"
* The display mode of the popover.
* @defaultValue `"click"`
*/
mode?: 'click' | 'hover'
content?: Omit<PopoverContentProps, 'asChild' | 'forceMount'>