UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

26 lines (25 loc) 840 B
import type { ContextModalProps } from "@mantine/modals"; import type { ComponentProps } from "react"; import { JsonViewer } from "../../components/code/JsonViewer"; type JsonViewerProps = Omit<ComponentProps<typeof JsonViewer>, "title" | "json">; type Primitive = object | string | number | boolean | any[]; type DebugProps = { data: { [key: string]: ({ label: string; value: Primitive; } & JsonViewerProps) | Primitive; }; } & JsonViewerProps; export declare function DebugModal({ innerProps }: ContextModalProps<DebugProps>): import("react/jsx-runtime").JSX.Element; export declare namespace DebugModal { var defaultTitle: boolean; var modalProps: { withCloseButton: false; size: "lg"; classNames: { body: string; }; }; } export {};