import React, { useState } from 'react'; import { Copy, Check } from 'lucide-react'; export const CopyButton = ({ text, className = '' }: { text: string, className?: string }) => { const [copied, setCopied] = useState(false); const handleCopy = () => { navigator.clipboard.writeText(text); setCopied(true); setTimeout(() => setCopied(false), 2000); }; return ( ); };