mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 01:40:34 +01:00
chore(Popover): mode doc
This commit is contained in:
@@ -15,9 +15,9 @@ export interface PopoverProps extends PopoverRootProps, Pick<HoverCardRootProps,
|
|||||||
shortcuts?: string[] | KbdProps[]
|
shortcuts?: string[] | KbdProps[]
|
||||||
/**
|
/**
|
||||||
* The mode of the popover.
|
* The mode of the popover.
|
||||||
* @default 'click'
|
* @defaultValue "click"
|
||||||
*/
|
*/
|
||||||
mode?: 'hover' | 'click'
|
mode?: 'click' | 'hover'
|
||||||
content?: Omit<PopoverContentProps, 'as' | 'asChild' | 'forceMount'>
|
content?: Omit<PopoverContentProps, 'as' | 'asChild' | 'forceMount'>
|
||||||
arrow?: boolean | Omit<PopoverArrowProps, 'as' | 'asChild'>
|
arrow?: boolean | Omit<PopoverArrowProps, 'as' | 'asChild'>
|
||||||
portal?: boolean
|
portal?: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user