"use client"; import { useState } from "react"; export function CodeCopy({ code, lang = "jsx" }: { code: string; lang?: string }) { const [copied, setCopied] = useState(false); return (
{code}