UNPKG

react-material-overlay

Version:

A fully featured Material UI implementation of overlays like modals, alert dialogs, lightboxes, and bottom sheets featuring easy stack management and browser history integration

12 lines 808 B
import { Id, Notify } from '../../types'; import { IAlertDialogContainerProps, IAlertDialogDefaultOptions, IAlertDialogProps, INotValidatedAlertDialogProps } from './types'; export declare function isAlertDialogActive(id: Id, containerId?: Id): boolean; export declare function buildAlertDialog(options: INotValidatedAlertDialogProps): IAlertDialogProps; export declare function pushAlertDialog(alertDialog: IAlertDialogProps): void; export declare function popAlertDialog(containerId?: Id): void; export declare function registerAlertDialogContainer({ defaultOptions, containerId }: IAlertDialogContainerProps): { subscribe(notify: Notify): () => void; setDefaultOptions(d: IAlertDialogDefaultOptions): void; getSnapshot(): IAlertDialogProps[] | undefined; }; //# sourceMappingURL=store.d.ts.map