react-color-popover-picker
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

React-Color-Popover-Picker

A React Componnent based on react-color and rc-tooltip

Demo

Demo

Installation & Usage

npm install react-color-popover-picker --save

Include the Component and styles

import React from 'react'
import ReactColorPicker from 'react-color-popover-picker';
import "react-color-popover-picker/style";
 
class Component extends React.Component {
 
  render() {
    return (
        <ReactColorPicker />
    );
  }
}

API

Props

name type default description
value string http://casesandberg.github.io/react-color/#api-color
onChange Function http://casesandberg.github.io/react-color/#api-onChange
onAfterChange Function http://casesandberg.github.io/react-color/#api-onChangeComplete

more props: https://github.com/react-component/tooltip/blob/master/README.md

Readme

Keywords

none

Package Sidebar

Install

npm i react-color-popover-picker

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.3 kB

Total Files

7

Last publish

Collaborators

  • frontdog