
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
bee-colorpicker
Advanced tools
react colorpicker component for tinper-bee
可定制的取色板组件
先进行下载bee-colorpicker包
npm install --save bee-colorpicker
组件调用
import ColorPicker from 'bee-colorpicker';
ReactDOM.render(
<ColorPicker label="颜色" />
, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/bee-colorpicker/build/ColorPicker.css">
import "./node_modules/bee-colorpicker/src/ColorPicker.scss"
//或是
import "./node_modules/bee-colorpicker/build/ColorPicker.css"
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| className | 类名 | string | - |
| value | input当前值 | string | - |
| required | 是否是必输项 | bool | false |
| disabled | 是否禁用 | bool | false |
| disabledAlpha | 是否禁用透明度 | bool | false |
| placeholder | input中的提示信息 | string | - |
| onChange | input值发生改变触发的回调 | func | - |
| autoCalculate | 根据选中的颜色自动计算比其 浅一色度/深一色度 的色值 | func | - |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-colorpicker
$ cd bee-colorpicker
$ npm install
$ npm run dev
FAQs
ColorPicker ui component for react
We found that bee-colorpicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.