@winglet/react-utils
Version:
React utility library providing custom hooks, higher-order components (HOCs), and utility functions to enhance React application development with improved reusability and functionality
10 lines (9 loc) • 468 B
TypeScript
import { type PropsWithChildren } from 'react';
/**
* Context provider for Portal functionality.
* Provides the ability to render Portal components at specific DOM locations.
* Manages portal registration and rendering through React portals.
* @param props - The provider's children elements
* @returns Portal context provider component
*/
export declare const PortalContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;