import { ReactNode } from "react"; import { useTranslation } from "react-i18next"; import { LockIcon } from "lucide-react"; import { Card } from "./wui/Card"; export interface DeviceRowEntry { name: string; /** One quiet line under the name, such as the platform. */ detail?: string; } interface DeviceRowProps { entry: DeviceRowEntry; isActive?: boolean; isPaired?: boolean; onSelect: () => void; rightSlot?: ReactNode; } export function DeviceRow({ entry, isActive, isPaired, onSelect, rightSlot, }: DeviceRowProps) { const { t } = useTranslation(); return (