material-ui-color-picker-addedprops
v1.0.1
Published
<ColorInput> component for material-ui
Downloads
2
Maintainers
Readme
<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 --save
Usage
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.