react-native-slider
react-native-slider copied to clipboard
Reset Slider Thumb Position
Is there any way to reset the slider thumb position to 0 if press button?
Okay got it working. just need to use ref to call _setCurrentValue(0)
How you do that? ANY EXAMPLE?
@Saad-Bashar
<Slider ref={r => (this.slider = r)} {...sliderProps} />
Make a ref, then call this.slider._setCurrentValue(0)