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 414 B
import { IModalOptions, ModalContent } from '../core/Modal/types'; import { Id } from '../types'; /** * open new modal overlay * @returns modalId. If the container is not mounted or modal is duplicate returns `null` * @example * const modalId = await pushModal("content"); */ export default function (content: ModalContent, options?: IModalOptions): Promise<Id | null>; //# sourceMappingURL=pushModal.d.ts.map