I'm using this component in a RN/React Native Web Project and wanted to just add a prop that gives me a bit more control of the border radius of the outside switch. Code additions are pretty self explanatory. We add another prop called switchBorderRadius and if it exists, it uses it for the border radius as opposed to the circle size.
Also added a note to the readme that this is compatible with React Native Web!
Hello,
I'm using this component in a RN/React Native Web Project and wanted to just add a prop that gives me a bit more control of the border radius of the outside switch. Code additions are pretty self explanatory. We add another prop called switchBorderRadius and if it exists, it uses it for the border radius as opposed to the circle size.
Also added a note to the readme that this is compatible with React Native Web!