class SliderTest extends React.Component { state = { slider2: 5, slider3: 1, slider4: 3 }; handleChange = (slider, value) => { const newState = {}; newState[slider] = value; this.setState(newState); }; render () { return ( Normal slider With steps, initial value and editable Pinned and with snaps Disabled ); } } return ;
Normal slider
With steps, initial value and editable
Pinned and with snaps
Disabled