UNPKG

@meonode/ui

Version:

A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.

9 lines 662 B
import _PortalProvider from '../components/portal-provider.client.js'; /** * A component that provides portal context to its children. * Must wrap any components that use `usePortal()` or `PortalHost`. */ export declare const PortalProvider: (<AdditionalProps, ExactProps extends object = object, As extends import("../main").NodeElementType = typeof _PortalProvider>(props?: import("../main").PolymorphicProps<typeof _PortalProvider, As, AdditionalProps, ExactProps> | undefined, deps?: import("../main").DependencyList) => import("../main").NodeInstance<NoInfer<As>>) & { element: typeof _PortalProvider; }; //# sourceMappingURL=portal-provider.d.ts.map