components/popover
Type Aliases
Section titled “Type Aliases”PopoverProps
Section titled “PopoverProps”PopoverProps =
HTMLAttributes<HTMLDivElement> > &object
Props accepted by Popover.
Type Declaration
Section titled “Type Declaration”open:
boolean
Whether the popover is shown.
optionalside?:"top"|"bottom"
Which edge of the anchor it opens from.
PopoverOptionProps
Section titled “PopoverOptionProps”PopoverOptionProps =
HTMLAttributes<HTMLDivElement> > &object
Props accepted by PopoverOption.
Type Declaration
Section titled “Type Declaration”active
Section titled “active”active:
boolean
Whether keyboard navigation currently highlights this option.
Variables
Section titled “Variables”PopoverAnchor
Section titled “PopoverAnchor”
constPopoverAnchor:ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> > &RefAttributes<HTMLDivElement>>>>
The positioned box a Popover attaches to.
Popover
Section titled “Popover”
constPopover:ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> > &object&RefAttributes<HTMLDivElement>>>>
A non-modal raised panel attached to its PopoverAnchor. It never takes focus, so the anchored control (for example a composer) keeps typing while the popover lists suggestions.
PopoverOption
Section titled “PopoverOption”
constPopoverOption:ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> > &object&RefAttributes<HTMLDivElement>>>>
One option row inside a Popover list; pointer presses keep focus where it is.