UNPKG

f-react-use-modal

Version:
13 lines 484 B
import * as React from 'react'; export type ModalProviderProps = { children?: React.ReactNode; unmountAfter?: number; }; /** * Provider for Modals stacks. The subtree of this component can use the `useDialogs` hook to * access the modals API. The modals are rendered in the order they are requested. * */ declare const ModalsProvider: (props: ModalProviderProps) => import("react/jsx-runtime").JSX.Element; export { ModalsProvider }; //# sourceMappingURL=provider.d.ts.map