import React from 'react'; import { TouchableOpacityProps } from 'react-native'; import { View, TouchableOpacity } from 'react-native'; export interface RadioButtonProps extends TouchableOpacityProps { isSelected: boolean; onSelect: () => void; disabled?: boolean; } export const RadioButton: React.FC = ({ isSelected, onSelect, disabled = false, ...restOfProps }) => { return ( {isSelected && ( )} ); };