react-toolbox
Version:
A set of complementary tools to ReactJS.
13 lines (11 loc) • 327 B
Plain Text
const SliderTest = () => (
<section>
<p>Default slider</p>
<Slider />
<p>With steps, initial value and editable</p>
<Slider value={5} min={0} max={10} editable />
<p>Pinned and with snaps</p>
<Slider pinned snaps value={1} min={0} max={10} step={1} editable />
</section>
);
return <SliderTest />;