lndsld

Home > @lndsld/react-hooks > usePortalRoot

usePortalRoot() function

Create root for React portal

Signature:

declare function usePortalRoot(): HTMLDivElement;

Returns:

HTMLDivElement