Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/react-cookie-banner/src/components/portal"

Index

Functions

Functions

Const Portal

  • Portal(__namedParameters: { children: ReactNode; className: string; renderInContainer: HTMLElement; tag: string }): ReactPortal
  • Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

    see

    https://reactjs.org/docs/portals.html

    Parameters

    • __namedParameters: { children: ReactNode; className: string; renderInContainer: HTMLElement; tag: string }
      • children: ReactNode
      • className: string
      • renderInContainer: HTMLElement
      • tag: string

    Returns ReactPortal

Generated using TypeDoc