React-ColorPicker
A simple colorpicker written using React.
Uses the Colr
library: https://github.com/stayradiated/colr
Installation
npm install --save react-colorpicker
You will also need to add some css styles.
See the example stylesheet for ideas.
Example Usage
var React = ;var ColorPicker = ; var colorpicker = color: '#c0ffee' { // called whenever the color is changed console; }; React;
Setting the Color
Just change the color
attribute. Simple.
var Colr = ;var React = ;var ColorPicker = ; var App = React; document;
License
MIT