portalContainerRef
function portalContainerRef(): RefObject<HTMLElement | null> | undefined;Defined in: src/ui/lib/portal-container.ts:31
The current portal container ref, or undefined when none is set (Base UI
then defaults to document.body). Pass the result to a Base UI
*.Portal container={…} prop.
Returns
Section titled “Returns”RefObject<HTMLElement | null> | undefined