zillow / react-slider

Accessible, CSS agnostic, slider component for React.
https://zillow.github.io/react-slider
MIT License
891 stars 232 forks source link

Allow the handle to know the value. #110

Closed jshthornton closed 5 years ago

jshthornton commented 7 years ago

This PR allows for the handle that the developer provided to know about the value. I opted for this approach rather than having the parent of slider provide the value to allow those who do not want to update their state or store with each change and only on after changes.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stonebk commented 5 years ago

You can do this with the renderThumb render function now.