rn-range-slider
rn-range-slider copied to clipboard
Add new prop and prevent default initialize
trafficstars
In this pull request was:
- Added a value prop to define a default value in case it's necessary
- Fixed a problem from my point of view in which the updater was called each time the Slider is re-rendered.
Related issue #114
What's the hold up? This seems like a pretty done deal
What do you mean? My first point it's an improvement to have the ability of define a default value in the slider, for example you use the slider in edit mode and create mode, so the first time you want to render on 0 and the second time in the last value set. My second point it's a bug related the updater is called on the first render without touch anything.