react-native-switch
react-native-switch copied to clipboard
[Feature] Reduce the number of props
I've noticed that you used many properties though there are ones that can be reduced in one property.
Current
<Switch
backgroundActive={'green'}
backgroundInactive={'gray'}
/>
Suggested
<Switch
background={active:'green',inActive:'gray'}
/>