UNPKG

react-native-trays

Version:

Production-grade, Family inspired, React Native Tray System library

13 lines 690 B
import { type TrayProviderProps, type TrayRegistry } from './types'; /** * TrayProvider: Manages tray stacks, context, and rendering. * * @template T - The tray registry type. * @param trays - An object mapping tray keys to their components. * @param children - React children to render inside the provider. * @param stackConfigs - Optional per-stack configuration overrides. * * Provides context to manage multiple, optionally-configurable tray stacks and their lifecycle. */ export declare const TrayProvider: <T extends TrayRegistry>({ trays, children, stackConfigs, }: TrayProviderProps<T>) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=TrayProvider.d.ts.map