React input color component with hsv color picker
The color picker is inspired by the sketch color picker
npm install react-input-color --save
https://wangzuo.github.io/react-input-color
Check app.js for a working example.
var InputColor = require('react-input-color');
<InputColor
value={this.state.color}
defaultValue="#345678"
onChange={this.handleChange} // change state.color in handleChange
/>
- The color property can be any valid css color value, check color-functions for more details.
- This component is built with react-input-slider and react-input-number.
MIT