mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 17:47:21 +08:00
Summary:
Hey !
I noticed that the `minimumTrackTintColor` and `maximumTrackTintColor` are exchanged in iOS and Android.
In iOS, `minimumTrackTintColor` is the left color and `maximumTrackTintColor` is the right color.
In Android, `minimumTrackTintColor` is the right color and `maximumTrackTintColor` is the left color.
With this code :
```jsx
<Slider
style={{ width: 300 }}
minimumTrackTintColor="red"
maximumTrackTintColor="blue"
/>
```
|iOS|Android|
|----|----|
|||
|iOS|Android|
|----|----|
| (same)||
Closes https://github.com/facebook/react-native/pull/16053
Differential Revision: D5910299
Pulled By: shergin
fbshipit-source-id: 74851e4cc6d54f72ea2755200e26b0d921890b48