Closed G3z closed 5 years ago
this way the style can be overriden for both tumb or track
<ToggleSwitch style={styles.setting_input} isOn={item.enabled == 1} onColor="white" thumbOnStyle={{ backgroundColor: 'blue' }} thumbOffStyle={{ backgroundColor: 'rgba(255,255,255,0.5)', borderColor: 'blue', borderWidth: 1 }} offColor="rgba(255,255,255,0.5)" size="large" onToggle={value => dispatch(updateSettings(item.name, value))} />
I would love to see this merged, being able to style the toggle itself would be so handy!
Thank you guys!
this way the style can be overriden for both tumb or track