react-native-switch icon indicating copy to clipboard operation
react-native-switch copied to clipboard

Resize component

Open davidhernandeze opened this issue 7 years ago • 2 comments

How can I resize the width of the switch?

davidhernandeze avatar Feb 09 '18 22:02 davidhernandeze

I had the same question in my mind. As I see in the component implementation the width of the switcher is calculated this way width: circleSize * switchWidthMultiplier, so just put switchWidthMultiplier={1.5} for example

TanyaBob avatar Feb 20 '19 20:02 TanyaBob

I had the same question in my mind. As I see in the component implementation the width of the switcher is calculated this way width: circleSize * switchWidthMultiplier, so just put switchWidthMultiplier={1.5} for example

thanks

izaanjahangir avatar Feb 11 '21 10:02 izaanjahangir