/react-knob

React Knob

Primary LanguageJavaScriptMIT LicenseMIT

React Knob

A simple knob for React components.

  npm install react-knob

Usage

Activated by tabbing to it or by hovering over and scrolling.

I've included a sample scss file. Feel free to use it or style it yourself.

Props

  • value (required)
  • onChangeValue (optional)
import Knob from 'react-knob'

<Knob value={5} onChangeValue={this.handleChange} />