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 • 837 B
TypeScript
import { Id, Notify } from '../../types';
import { BottomSheetContent, IBottomSheet, IBottomSheetContainerProps, IBottomSheetDefaultOptions, INotValidatedBottomSheetProps } from './types';
export declare function isBottomSheetActive(id: Id, containerId?: Id): boolean;
export declare function buildBottomSheet(content: BottomSheetContent, options: INotValidatedBottomSheetProps): IBottomSheet;
export declare function pushBottomSheet(bottomSheet: IBottomSheet): void;
export declare function popBottomSheet(containerId?: Id): void;
export declare function registerBottomSheetContainer({ defaultOptions, containerId }: IBottomSheetContainerProps): {
subscribe(notify: Notify): () => void;
setDefaultOptions(d: IBottomSheetDefaultOptions): void;
getSnapshot(): IBottomSheet[] | undefined;
};
//# sourceMappingURL=store.d.ts.map