radio-buttons-react-native
radio-buttons-react-native copied to clipboard
activeIndex should not be hard-coded
Setting initial prop causes re-render. I believe this is because although default props are set to -1, the active index is also set to -1 in the constructor.