import type { Severity } from '../types'; const STYLES: Record = { critical: 'bg-red-500 text-white', high: 'bg-orange-500 text-white', medium: 'bg-yellow-500 text-black', low: 'bg-blue-500 text-white', }; interface Props { severity: Severity; className?: string; } export function SeverityBadge({ severity, className = '' }: Props) { return ( {severity.toUpperCase()} ); }