import { cn } from "@/lib/utils" interface HealthBadgeProps { status: "up" | "down" | "unknown" latency?: number | null } export function HealthBadge({ status, latency }: HealthBadgeProps) { return ( {status} {latency != null && status === "up" && ( {latency}ms )} ) }