import type { ServiceRow } from '@/lib/types'; /** Vendor status-page indicator (none/minor/major/critical) or "no connector" when we have no source for that provider. */ export function VendorIndicator({ v }: { v: ServiceRow['vendor_status'] }) { if (!v) return no connector; const color = v.indicator === 'none' ? 'var(--ok)' : v.indicator === 'minor' ? 'var(--warn)' : 'var(--bad)'; return ( ); }