import { CopyButton } from "./CopyButton"; import type { ToolId } from "@/lib/tools/_shared/types"; export function CodeOutput({ code, tool, label }: { code: string; tool: ToolId; label?: string }) { return (
{label &&
{label}
}
{code}
); }