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

10 lines 407 B
import { ILightboxOptions } from '../core/Lightbox/types'; import { Id } from '../types'; /** * open new lightbox overlay * @returns lightboxId. If the container is not mounted or modal is duplicate returns `null` * @example * const lightboxId = await pushLightbox({slides: [...]}); */ export default function (options?: ILightboxOptions): Promise<Id | null>; //# sourceMappingURL=pushLightbox.d.ts.map