import { Chip } from '@mui/material' import type { ReviewStatus } from '../../domain/enums' const CONFIG: Record = { UNREVIEWED: { label: 'Ungeprüft', color: '#94a3b8' }, IN_REVIEW: { label: 'In Prüfung', color: '#d97706' }, APPROVED: { label: 'Genehmigt', color: '#1a7a4a' }, REJECTED: { label: 'Abgelehnt', color: '#c0392b' }, FLAGGED: { label: 'Markiert', color: '#ea580c' }, } export function AIOutputStatusBadge({ status }: { status: ReviewStatus }) { const { label, color } = CONFIG[status] ?? { label: status, color: '#64748b' } return ( ) }