Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bee-cascader
Advanced tools
IE 9+ ✔ | Chrome 31.0+ ✔ | Firefox 31.0+ ✔ | Opera 30.0+ ✔ | Safari 7.0+ ✔ |
react bee-cascader component for tinper-bee
先进行下载cascader包
npm install --save bee-cascader
组件调用
import { Cascader } from 'bee-cascader';
React.render(<div>
<div>
<Cascader />
</div>
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-cascader.css">
import "./node_modules/src/cascader"
//或是
import "./node_modules/build/bee-cascader.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
placeholder | input提示信息 | string | "请输入信息" |
options | 下拉列表数据 | json | 必填,无默认值 |
options格式如下:
const options = [
{
value: '浙江',
children: [
{
value: '杭州',
children: [
{
value: '西湖',
children: [
{
value: '白娘子'
},
{
value: '许仙'
}]
}]
}
]
},
{
value: '江苏',
children: [
{
value: '南京',
children: [
{
value: '中华门'
}]
}
]
},
{
value: '山东'
}
];
$ git clone https://github.com/tinper-bee/bee-cascader
$ cd bee-cascader
$ npm install
$ npm run dev
FAQs
Cascader ui component for react
The npm package bee-cascader receives a total of 17 weekly downloads. As such, bee-cascader popularity was classified as not popular.
We found that bee-cascader 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.