1.0.13 • Published 8 years ago

react-input-colorpicker v1.0.13

Weekly downloads
189
License
MIT
Repository
github
Last release
8 years ago

react-colorpicker

react-colorpicker with input box using rc-color-picker and colr.

Demo

https://homfen.github.io/react-colorpicker

Installation

npm install react-input-colorpicker --save

Change color format

Click the input with the Shift key.

Example Usage

import React from 'react';
import ReactDOM from 'react-dom';
import ColorPicker from 'react-input-colorpicker';

function changeHandler(colors) {
    console.log(colors);
}

ReactDOM.render(
    <ColorPicker
        label='Color: '
        color={'#36c'}
        onChange={changeHandler}
        mode='RGB'
    />,
    document.getElementById('colorPicker')
);

Snapshots

hex

rgba

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago