irojs-react

1.0.4 • Public • Published

iro.js react component

The iro.js color picker wrapped in a react component

preview

Here's a working demo

NPM JavaScript Style Guide build

Install

npm install --save irojs-react

Usage

import React, { Component } from 'react'

import ColorPicker from 'irojs-react'

class Example extends Component {
  render() {
    return <ColorPicker setColor={(color) => console.log(color)} />
  }
}

License

MIT © basith374

/irojs-react/

    Package Sidebar

    Install

    npm i irojs-react

    Weekly Downloads

    2

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    6.89 kB

    Total Files

    7

    Last publish

    Collaborators

    • basith374