import { Badge, type Tone } from "../ui/Badge"; import { statusLabel } from "../../lib/format"; import type { DcrStatus, ReportType } from "../../types"; const TONE: Record = { DRAFT: "neutral", PENDING_ABM: "warning", RETURNED: "danger", APPROVED: "success", }; export function StatusBadge({ status, type }: { status: DcrStatus; type?: ReportType }) { return {statusLabel(status, type)}; }