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 • 473 B
TypeScript
import { IAlertDialogOptions } from '../core/AlertDialog/types';
import { Id } from '../types';
/**
* open new alert dialog overlay
* @returns alertDialogId. If the container is not mounted or alertDialog is duplicate returns `null`
* @example
* const alertDialogId = await pushAlertDialog({title: "dialog title", content: "dialog content"});
*/
export default function (options?: IAlertDialogOptions): Promise<Id | null>;
//# sourceMappingURL=pushAlertDialog.d.ts.map