@hey-mirror/controls-knob
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.2 • Public • Published

@hey-mirror/controls-knob

Example

import { Knob } from '@hey-mirror/controls-knob';

const Control = () => {
  const [value, setValue] = useState(30);

  return (
    <Knob
      value={value}
      onChange={setValue}
    >
      <Knob.Knob>
        <Knob.Indicator />
      </Knob.Knob>
      <Knob.Steps>
        <Knob.Steps.Step />
      </Knob.Steps>
    </Knob>
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i @hey-mirror/controls-knob

Weekly Downloads

0

Version

1.0.0-alpha.2

License

none

Unpacked Size

25.7 kB

Total Files

50

Last publish

Collaborators

  • brendan