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 482 B
import { BottomSheetContent, IBottomSheetOptions } from '../core/BottomSheet/types'; import { Id } from '../types'; /** * open new bottom sheet overlay * @returns bottomSheetId. If the container is not mounted or bottom sheet is duplicate returns `null` * @example * const bottomSheetId = await pushBottomSheet("content"); */ export default function (content: BottomSheetContent, options?: IBottomSheetOptions): Promise<Id | null>; //# sourceMappingURL=pushBottomSheet.d.ts.map