sailfork / t3code-github / apps/ mobile/ src/ features/ threads/ ThreadSettingsRows.android.tsx

import { RadioIndicator } from "../../components/ui/RadioIndicator";
import {
  ModelRowContent,
  ChoiceRowContent,
  type ModelRowProps,
  type ChoiceRowProps,
} from "./ThreadSettingsRows.shared";

export function ModelRow(props: ModelRowProps) {
  return (
    <ModelRowContent
      {...props}
      labelNumberOfLines={2}
      minimumHeight={56}
      selectedClassName={props.selected ? "bg-secondary" : undefined}
      leadingSelection={<RadioIndicator selected={props.selected} />}
    />
  );
}

export function ChoiceRow(props: ChoiceRowProps) {
  return (
    <ChoiceRowContent
      {...props}
      minimumHeight={56}
      leadingSelection={<RadioIndicator selected={props.selected} />}
    />
  );
}