import { Badge } from '@cameleer/design-system'; import type { AlertDto } from '../api/queries/alerts'; type Severity = NonNullable; const LABELS: Record = { CRITICAL: 'Critical', WARNING: 'Warning', INFO: 'Info', }; const COLORS: Record = { CRITICAL: 'error', WARNING: 'warning', INFO: 'auto', }; export function SeverityBadge({ severity }: { severity: Severity }) { return ; }