Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
skins
.gitignore
LICENSE
README.md
index.js
package.json
preview590x300.jpg
yarn.lock

README.md

skins

Skins catalog

Basic CodeSandbox demo

This project contains a set of 18 skins for the react-rotary-knob component.

Yoy should have https://github.com/hugozap/react-rotary-knob dependency installed in your project.

Install

yarn add react-rotary-knob-skins-pack

or

npm install react-rotary-knob-skins-pack --save

Usage

Skins are named from s1 to s18.

//App.js
import React from "react";
import { render } from "react-dom";
import { Knob } from "react-rotary-knob";
import * as skins from 'react-rotary-knob-skins-pack';

...

const App = () => (
  <div>
    <Knob skin={skins.s15} />
  </div>
);

render(<App />, document.getElementById("root"));

Open in CodeSandbox.io