"use client"; import { type NodeProps } from "@xyflow/react"; import { CheckCircleIcon } from "lucide-react"; import { NodeShell } from "./NodeShell"; export function BooleanNode({ data }: NodeProps) { const d = data as { value?: boolean; description?: string }; return (
{(d.value ?? false) ? "true" : "false"}
{d.description || "Boolean flag"}
); }