"use client" import * as React from 'react' type HealthRowProps = { label: string /** Supporting text — version, tool count, adapter ids, latency. Truncates. */ detail?: string | null /** Fixed-width end of the row: a badge, or a badge plus an action. */ trailing: React.ReactNode monoLabel?: boolean } /** * Label · detail · trailing, with the trailing column sized to its content and * the growing half clipped instead of the badge. The previous `justify-between` * flex row let either side win, which is why long adapter lists pushed the state * off the panel. */ export function HealthRow({ label, detail, trailing, monoLabel = false }: HealthRowProps) { return (
  • {label} {detail ? ( {detail} ) : null} {trailing}
  • ) }