import { cn } from "@/lib/utils" import { getWorkflowNodeIconClass, getWorkflowNodeMeta, type WorkflowNodeTone, } from "./workflow-node-meta" export function WorkflowNodeIcon({ type, tone, size = "md", className, }: { type: string tone?: WorkflowNodeTone size?: "sm" | "md" className?: string }) { const meta = getWorkflowNodeMeta(type) const Icon = meta.icon const resolvedTone = tone ?? meta.tone return ( ) }