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 760 B
import { Id, Notify } from '../../types'; import { ILightboxContainerProps, ILightboxDefaultOptions, ILightboxProps, INotValidatedLightboxProps } from './types'; export declare function isLightboxActive(id: Id, containerId?: Id): boolean; export declare function buildLightbox(options: INotValidatedLightboxProps): ILightboxProps; export declare function pushLightbox(lightbox: ILightboxProps): void; export declare function popLightbox(containerId?: Id): void; export declare function registerLightboxContainer({ defaultOptions, containerId }: ILightboxContainerProps): { subscribe(notify: Notify): () => void; setDefaultOptions(d: ILightboxDefaultOptions): void; getSnapshot(): ILightboxProps[] | undefined; }; //# sourceMappingURL=store.d.ts.map