Medium Size is wrong
This should be the setting for medium toggle button, not the current one
{ width: 60, padding: 14, circleWidth: 24, circleHeight: 24, translateX: 30 }
@wamry I fixed the styling, tell me if it suits your needs.
This still didn't fix the problem, the problem is that medium and small are too close in this, they both look small.
Here's my styling for medium:
{width: 60, padding: 14.5, circleWidth: 24, circleHeight: 24, translateX: 30 }
Also, in my fork, I needed to have the translateX be -1 instead of 0
const toValue = isOn ? this.dimensions.width - this.dimensions.translateX : -1;
Not sure if this translate will work for the other sizes or not.