react-rotary-knob-skin-pack

    1.0.2 • Public • Published

    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

    Keywords

    none

    Install

    npm i react-rotary-knob-skin-pack

    DownloadsWeekly Downloads

    92

    Version

    1.0.2

    License

    none

    Unpacked Size

    255 kB

    Total Files

    24

    Last publish

    Collaborators

    • hugozap