chore(Popover): mode doc

This commit is contained in:
Benjamin Canac
2024-03-12 17:28:46 +01:00
parent 2d340d2054
commit 4b3a9855ac

View File

@@ -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