import { Copy, Check, X } from "lucide-react"; import type { DuplicateDto } from "@/lib/api"; import { cn } from "@/lib/utils"; /** * The badge a possible-duplicate row gets, right next to (or in place of) * its category badge - same inline confirm/reject shape as TransferBadge, * for the same reason: the decision belongs right where the row already is, * not behind a trip to a separate page. */ export function DuplicateBadge({ suggested, onMerge, onDismiss, busy, }: { /** The pending DuplicateCandidate this row is a side of. */ suggested: DuplicateDto; onMerge: () => void; onDismiss: () => void; busy?: boolean; }) { return ( Duplicate? ); }