Module "frontend-packages/react-cookie-banner/src/components/portal"
Functions
Const Portal
- Portal(__namedParameters: { children: ReactNode; className: string; renderInContainer: HTMLElement; tag: string }): ReactPortal
-
Parameters
-
__namedParameters: { children: ReactNode; className: string; renderInContainer: HTMLElement; tag: string }
-
children: ReactNode
-
className: string
-
renderInContainer: HTMLElement
-
tag: string
Returns ReactPortal
Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.
https://reactjs.org/docs/portals.html