2.0.0-beta.2 • Published 1 year ago
react-colors-beauty v2.0.0-beta.2
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.2
1 year ago
2.0.0-beta.1
1 year ago
2.0.0-beta.0
1 year ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago