react-toggle-knob

1.0.0 • Public • Published

🎛 React Toggle Knob

Travis build MIT License

A lightweight toggle with floating options number.

React Toggle Knob

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>

License

MIT

Package Sidebar

Install

npm i react-toggle-knob

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

13.3 kB

Total Files

4

Last publish

Collaborators

  • maglovanyi