react-native-snap-slider
react-native-snap-slider copied to clipboard
how to change track and thumb style ?
i need to change track and thumb style.please any one help me to done this.
this is how you can change track and thumb color
<SnapSlider
ref="slider"
containerStyle={styles.snapsliderContainer}
style={styles.snapslider}
itemWrapperStyle={styles.snapsliderItemWrapper}
itemStyle={styles.SelectedItem}
items={sliderOptions}
labelPosition="bottom"
minimumTrackTintColor={Colors.orange}
maximumTrackTintColor={Colors.white}
thumbTintColor={Colors.orange}
defaultItem={2}
onSlidingComplete={this.slidingComplete}
/>