Portal(param): Element
param
Element
A Portal component, allowing to attach content to an external container.
PropsWithChildren<{ container: Element | DocumentFragment | null | undefined; }>
PropsWithChildren
container
DocumentFragment
null
undefined
the react component inputs
the portal component