mui-colorpicker-button

1.0.0 • Public • Published

Color Picker Button component for material-ui

 example

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.

Package Sidebar

Install

npm i mui-colorpicker-button

Weekly Downloads

6

Version

1.0.0

License

MIT

Unpacked Size

14.3 kB

Total Files

12

Last publish

Collaborators

  • josephwoolf