import { CopyIcon } from "lucide-react"; import { Button } from "src/components/ui/button"; import { copyToClipboard } from "src/lib/clipboard"; type TransactionDetailRowProps = { label: React.ReactNode; children: React.ReactNode; // when set, the value is shown next to a copy button that copies this string copyable?: string; }; export function TransactionDetailRow({ label, children, copyable, }: TransactionDetailRowProps) { return (
{label}