2.0.0-beta.1 • Published 3 days ago
react-colors-beauty v2.0.0-beta.1
react-colors-beauty
颜色选择器,同时支持纯色和渐变色选择。
Install
$ npm i react-colors-beauty --save
$ yarn add react-colors-beauty
Basic Example
import { useState } from 'react';
import { ColorsPicker } from 'react-colors-beauty';
import 'react-colors-beauty/esm/index.less';
export default function App () {
const [value, setValue] = useState({ type: 'solid', color: 'rgb(0,0,0)' });
<ColorsPicker value={value} onChange={setValue} />
}
2.0.0-beta.1
3 days ago
2.0.0-beta.0
3 days ago
1.0.3
4 months ago
1.0.2
4 months ago
1.0.1
4 months ago
1.0.0
5 months ago