New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-input-colorpicker

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-input-colorpicker

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

latest
Source
npmnpm
Version
1.0.13
Version published
Weekly downloads
164
16.31%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

react

FAQs

Package last updated on 26 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts