import { Badge } from "@/components/ui/badge";
import { PO_STATUS_LABELS, PO_STATUS_VARIANTS } from "@/lib/utils";
import type { POStatus } from "@prisma/client";

export function PoStatusBadge({ status }: { status: POStatus }) {
  return (
    <Badge variant={PO_STATUS_VARIANTS[status]}>
      {PO_STATUS_LABELS[status]}
    </Badge>
  );
}
