1.0.1 • Published 6 years ago

material-ui-color-picker-addedprops v1.0.1

Weekly downloads
7
License
-
Repository
-
Last release
6 years ago

<ColorPicker> for material-ui

`<ColorPicker>` example

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.