import type { ReactNode } from "react"; import clsx from "clsx"; import { CopyButton } from "./CopyButton"; type InfoRowProps = { label: string; children: ReactNode; copyValue?: string | number | null; copyMessage?: string; className?: string; }; export const InfoRow = ({ label, children, copyValue, copyMessage, className }: InfoRowProps) => { const canCopy = copyValue !== null && copyValue !== undefined && `${copyValue}`.length > 0; return (