import { useTranslation } from 'react-i18next'; import type { EngagementStatus } from '@/api/types'; 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 { const { t } = useTranslation(); return ( {t(`status.engagement.${status}`)} ); }