UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

18 lines (17 loc) 594 B
interface ModalStackContext { stack: string[]; addModal: (id: string, zIndex: number | string) => void; removeModal: (id: string) => void; getZIndex: (id: string) => string; currentId: string; maxZIndex: string | number; } export declare const ModalStackContext: import("react").Context<ModalStackContext | null>; export interface ModalStackProps { children: React.ReactNode; } export declare function ModalStack({ children }: ModalStackProps): import("react/jsx-runtime").JSX.Element; export declare namespace ModalStack { var displayName: string; } export {};