'use client';

import { Badge } from '@/components/ui/badge';
import {
  contentApprovalStatusLabels,
  contentApprovalStatusVariants,
  type ContentApprovalStatus
} from '../lib/workflow';

export function ContentApprovalStatusBadge({ status }: { status: ContentApprovalStatus }) {
  return <Badge variant={contentApprovalStatusVariants[status]}>{contentApprovalStatusLabels[status]}</Badge>;
}
