bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
13 lines (12 loc) • 604 B
TypeScript
import { type MiniMapProps, type ReactFlowProps } from "@xyflow/react";
import { type ReactNode } from "react";
type CanvasProps = ReactFlowProps & {
externalProvider?: boolean;
backgroundStyle?: "lines" | "dots";
minimap?: boolean | MiniMapProps;
children?: Element | ReactNode;
onDropNewNode?: (base: any) => any;
onDropNewEdge?: (base: any) => any;
};
export declare function Canvas({ nodes: _nodes, edges: _edges, externalProvider, backgroundStyle, minimap, children, onDropNewNode, onDropNewEdge, ...props }: CanvasProps): import("react/jsx-runtime").JSX.Element;
export {};