BalanceReckon Design System
OverlaysPopover

Popover

Popovers are small overlays that open on demand, and close when the user clicks outside or presses the escape key.

ManagerProps

PropTypeRequiredDefaultDescription
childrenReact.ReactNodeYes——

ReferenceChildrenProps

PropTypeRequiredDefaultDescription
refReact.Ref<any>Yes——

ReferenceProps

PropTypeRequiredDefaultDescription
children(props: ReferenceChildrenProps) => React.ReactNodeYes——
innerRefReact.Ref<any>———

PopperArrowProps

PropTypeRequiredDefaultDescription
refReact.Ref<any>Yes——
styleReact.CSSPropertiesYes——

PopperChildrenProps

PropTypeRequiredDefaultDescription
arrowPropsPopperArrowPropsYes——
forceUpdate() => Partial<PopperJS.State>Yes——
hasPopperEscapedboolean———
isReferenceHiddenboolean———
placementPopperJS.Placement
auto|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——
refReact.Ref<any>Yes——
styleReact.CSSPropertiesYes——
update() => Promise<null | Partial<PopperJS.State>>Yes——

PopperProps

PropTypeRequiredDefaultDescription
children(props: PopperChildrenProps) => React.ReactNodeYes——
innerRefReact.Ref<any>———
modifiersReadonlyArray<Modifier<Modifiers>>———
onFirstUpdate(state: Partial<PopperJS.State>) => void———
placementPopperJS.Placement
auto|auto-start|auto-end|top|bottom|right|left|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end
———
referenceElementHTMLElement | PopperJS.VirtualElement———
strategyPopperJS.PositioningStrategy
absolute|fixed
———