
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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
The npm package bee-colorpicker receives a total of 31 weekly downloads. As such, bee-colorpicker popularity was classified as not popular.
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.