I am converting React code to React Native. So I need to implement radio buttons.
You can mimic a radio button really easily using just barebones RN. Here's one simple implementation which I use. Tweak size, colors etc. as you like. It looks like this (with a different tint, and some text). Add TouchableOpacity
on top to turn it into a button that does something.
function RadioButton(props) {
return (
{
props.selected ?
: null
}
);
}