Skip to main content

BasicPopover

Components

BasicPopover()

BasicPopover(props, context?): ReactNode

A BasicPopover component provides an easy and fast way to include a popover in your app.

Parameters

ParameterType
propsBasicPopoverProps
context?any

Returns

ReactNode

Example

const targetNode = document.createElement('div');
const Contents = (
<React.Fragment>
<div>Popover content</div>
<div>Popover content</div>
<div>Popover content</div>
</React.Fragment>
);
<BasicPopover target={targetNode} children={Contents} />

Source

libs/design-system-core/src/components/BasicPopover/index.tsx:33

Props

BasicPopoverProps

BasicPopoverProps: PropsWithChildren<object>

Type declaration

MemberType
closePopover() => void
gapstring
overflowOverflowType | object
targetHTMLElement

Source

libs/design-system-core/src/components/BasicPopover/index.tsx:6


OverflowType

OverflowType: "auto" | "hidden" | "scroll" | "visible"

Source

libs/design-system-core/src/components/BasicPopover/index.tsx:4