Bootstrap

API portal

Portal

function

Portal(param): Element

A Portal component, allowing to attach content to an external container.

Parameters
param

PropsWithChildren<{ container: undefined | null | Element | DocumentFragment; }>

the react component inputs

Returns

Element

the portal component