Switch thumbColor when switch on does not use custom color

I am trying to use a custom thumbColor for a Switch component.

It works when the switch is off but when it turns on (for web only, mobile works as expected), the thumb is a blue / green color and does not change based on the thumbColor property.

<Switch
trackColor= {{ false: "#F00", true: "#0F0" }}
thumbColor= {"#F00"}
onValueChange={callback}
value={!props.value}
/>
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.