Package Exports
- mui-colorpicker-button
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mui-colorpicker-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Color Picker Button component for material-ui
This Color Picker component for material-ui derives from Loic Mahieu's repository in which, rather than a textfield input, a button input is used instead. Apart from the substitution of using a button, the underlying implementation is the same.
Installation
For material-ui (v1):
npm install --save mui-colorpicker-button
Usage
import React from 'react'
import ColorPicker from 'mui-colorpicker-button'
<ColorPicker
onChange={color => console.log(color)}
/*
Add the below attribute if you want the button
to change color.
*/
value={value}
name='Change color'
/>
License
This library is licensed under the MIT Licence, and sponsored by iGLOO.