Function usePortalsLifecycle

  • A React Hook that returns an array of portals to be rendered by the user of this hook and a disposable function to add a portal. Calling dispose removes this portal from the portal array

    Returns [ReactPortal[], ((portal) => IDockviewDisposable)]

Generated using TypeDoc