1.0.1 • Published 8 years ago
material-ui-color-picker-addedprops v1.0.1
<ColorPicker> for material-ui

ColorPicker based on <TextField /> and <ChromePicker /> from react-color.
Installation
For material-ui next (v1):
npm install material-ui-color-picker@next --save(see next branch for development)
For material-ui stable (v0.x):
npm install material-ui-color-picker --saveUsage
import React from 'react'
import ColorPicker from 'material-ui-color-picker'
<ColorPicker
name='color'
defaultValue='#000'
onChange={color => console.log(color)}
/>There is not so much properties at this time. The was very quickly designed for my needs. Feel free to submit a PR with new features ;)
License
This library is licensed under the MIT Licence, and sponsored by iGLOO.
1.0.1
8 years ago