react-native-simple-radio-button
react-native-simple-radio-button copied to clipboard
Pass value, not object, to onPress in updateIsActiveIndex
This caused issues in my onPress
handlers that were expecting the value of the button, not the button object.
Until this merge done I'm doing using typeof
if (typeof form.data === 'object') {
setForm({
...form,
data: form.data.value
})
}