Working demo: https://colesam.github.io/react-range-slider-proto/
For a local instance you can run npm start
in the project's root to get a demo on localhost:3000
.
See this article for an explanation of how this slider works.
-
src/App.js
- component containing throwaway code that runs a demo of the prototype, but no core logic -
src/Slider.js
- component containing nearly all the logic for the slider component -
src/render/
- directory containing components used for rendering with little to no logic -
src/styles/
- directory containing css files for styling