import type { EngagementStatus } from '@/api/types'; const LABELS: Record = { planned: 'Planned', active: 'Active', closed: 'Closed', }; const STYLES: Record = { planned: 'bg-warn-soft text-warn border border-warn', active: 'bg-primary-soft text-primary-deep', closed: 'bg-cloud text-graphite border border-hairline', }; export function StatusBadge({ status }: { status: EngagementStatus }): JSX.Element { return ( {LABELS[status]} ); }