0.0.3 • Published 24 days ago
react-color-beauty-picker v0.0.3
react-color-beauty-picker
Install
$ npm i react-color-beauty-picker --save
$ yarn add react-color-beauty-picker
Basic Example
import { useState } from 'react';
import { ColorsPicker } from 'react-color-beauty-picker';
export default function App () {
const [value, setValue] = useState({ type: 'solid', color: 'rgb(0,0,0)' });
<ColorsPicker value={value} onChange={setValue} />
}