Skip to content

frontdog/react-color-popover-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published