/** Underline tabs with optional mono counts (Direction A v2 pattern). */ export interface TabDef { key: string; label: string; count?: number } export function Tabs(props: { tabs: TabDef[] active: string onChange: (key: string) => void }) { return (