Popover
Popovers are small overlays that open on demand, and close when the user clicks outside or presses the escape key.
ManagerProps
| Prop | Type | Required | Default | Description |
|---|
children | React.ReactNode | Yes | — | — |
ReferenceChildrenProps
| Prop | Type | Required | Default | Description |
|---|
ref | React.Ref<any> | Yes | — | — |
ReferenceProps
| Prop | Type | Required | Default | Description |
|---|
children | (props: ReferenceChildrenProps) => React.ReactNode | Yes | — | — |
innerRef | React.Ref<any> | — | — | — |
PopperArrowProps
| Prop | Type | Required | Default | Description |
|---|
ref | React.Ref<any> | Yes | — | — |
style | React.CSSProperties | Yes | — | — |
PopperChildrenProps
| Prop | Type | Required | Default | Description |
|---|
arrowProps | PopperArrowProps | Yes | — | — |
forceUpdate | () => Partial<PopperJS.State> | Yes | — | — |
hasPopperEscaped | boolean | — | — | — |
isReferenceHidden | boolean | — | — | — |
placement | PopperJS.Placementauto|auto-start|auto-end|top|bottom|right|left|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end
| Yes | — | — |
ref | React.Ref<any> | Yes | — | — |
style | React.CSSProperties | Yes | — | — |
update | () => Promise<null | Partial<PopperJS.State>> | Yes | — | — |
PopperProps
| Prop | Type | Required | Default | Description |
|---|
children | (props: PopperChildrenProps) => React.ReactNode | Yes | — | — |
innerRef | React.Ref<any> | — | — | — |
modifiers | ReadonlyArray<Modifier<Modifiers>> | — | — | — |
onFirstUpdate | (state: Partial<PopperJS.State>) => void | — | — | — |
placement | PopperJS.Placementauto|auto-start|auto-end|top|bottom|right|left|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end
| — | — | — |
referenceElement | HTMLElement | PopperJS.VirtualElement | — | — | — |
strategy | PopperJS.PositioningStrategyabsolute|fixed
| — | — | — |