Skip to content

hugozap/react-rotary-knob-skin-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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-skin-pack

or

npm install react-rotary-knob-skin-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-skin-pack';

...

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

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

Open in CodeSandbox.io

Releases

No releases published

Packages

No packages published