mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 01:40:34 +01:00
feat(CommandPalette): new component (#80)
This commit is contained in:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user