"use client"; import { type NodeProps } from "@xyflow/react"; import { CalculatorIcon } from "lucide-react"; import { NodeShell } from "./NodeShell"; export function MathNode({ data }: NodeProps) { const d = data as { operator?: string }; const op = d.operator ?? "+"; return (
Math
{op}
); }