1.0.4 • Published 3 years ago
irojs-react v1.0.4
iro.js react component
The iro.js color picker wrapped in a react component
Here's a working demo
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