bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
29 lines (28 loc) • 975 B
TypeScript
import { type ModalProps } from "@mantine/core";
export type Modal2Ref = {
open: () => void;
close: () => void;
};
export type Modal2Props = Omit<ModalProps, "opened" | "onClose"> & {
opened?: boolean;
onClose?: () => void;
};
export declare const Modal2: import("react").ForwardRefExoticComponent<Omit<ModalProps, "onClose" | "opened"> & {
opened?: boolean;
onClose?: () => void;
} & import("react").RefAttributes<Modal2Ref>>;
export declare const ModalTitle: ({ path, onClose }: {
path: string[];
onClose: () => void;
}) => import("react/jsx-runtime").JSX.Element;
export declare const ModalBody: ({ children, className }: {
children?: any;
className?: string;
}) => import("react/jsx-runtime").JSX.Element;
export declare const ModalFooter: ({ next, prev, nextLabel, prevLabel, debug, }: {
next: any;
prev: any;
nextLabel?: string;
prevLabel?: string;
debug?: any;
}) => import("react/jsx-runtime").JSX.Element;