A React Componnent based on `react-color` and `rc-tooltip`
npm install react-color-popover-pickerA React Componnent based on react-color and rc-tooltip
!Demo
``sh`
npm install react-color-popover-picker --save
`js
import React from 'react'
import ReactColorPicker from 'react-color-popover-picker';
import "react-color-popover-picker/style";
class Component extends React.Component {
render() {
return (
);
}
}
``
| 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