import { Badge } from "@/components/ui/kit";
import type { OptInStatus } from "@/lib/types";

export function ConsentBadge({ status }: { status: OptInStatus }) {
  if (status === "opted_in") return <Badge tone="teal">Opted in</Badge>;
  if (status === "opted_out") return <Badge tone="brick">Opted out</Badge>;
  return <Badge>Unknown</Badge>;
}
