export function SeverityBadge({ severity }: { severity: "low" | "medium" | "high" }) { const label = severity === "high" ? "High" : severity === "medium" ? "Medium" : "Low"; return {label} severity; } export function StatusBadge({ status }: { status: string }) { return {status.replace(/_/g, " ")}; }