🎛 React Toggle Knob
A lightweight toggle with floating options number.
Install
npm install react-toggle-knob
Getting Started
import Toggle, {Knob} from "react-toggle-knob";
<Toggle onChange={value => console.log(value)}>
<Knob value="not-completed">Not completed</Knob>
<Knob value="completed">Completed</Knob>
<Knob value="disabled" isDisabled>
Disabled
</Knob>
<Knob value="all">All</Knob>
</Toggle>