flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
11 lines (10 loc) • 442 B
text/typescript
import type { ThemingProps } from "../../types";
import type { ModalTheme } from "./Modal";
export interface ModalContextValue extends ThemingProps<ModalTheme> {
popup?: boolean;
dismissible?: boolean;
setHeaderId: (id: string | undefined) => void;
onClose?: () => void;
}
export declare const ModalContext: import("react").Context<ModalContextValue | undefined>;
export declare function useModalContext(): ModalContextValue;