import { Button } from '@/components/ui/button' import { ExternalLink } from '@/lib/icons' import { Pill } from '../primitives' import { openExternal } from './open-external' import type { BillingAccountRowView } from './use-billing-state' export function RowValue({ onAction, row }: { onAction?: () => void; row: BillingAccountRowView }) { // Destructure to a const so narrowing survives into the onClick closure below. const { action } = row return (