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.
industry-classification-select
Advanced tools
English| 简体中文
This is base on GICS, and used ant-design v4 Cascader
When you need to select industry classification.
import IndustryClassificationSelect from 'industry-classification-select;
<IndustryClassificationSelect onChange={v => consle.log(v)}/>
Parameters | Desc | Type | Default |
---|---|---|---|
allowClear | whether allow clear | boolean | true |
changeOnSelect | change value on each selection if set to true, see above demo for details | boolean | false |
className | additional css class | string | - |
zh | language zh or en | boolean | false |
defaultValue | initial selected value({ code: number; en?: string; zh?: string; desc?: string; desc_zh?: string; }) | object | - |
disabled | whether disabled select | boolean | false |
expandTrigger | expand current item when click or hover, one of 'click' 'hover' | string | ‘click’ |
getPopupContainer | Parent Node which the selector should be rendered to. Default to body . When position issues happen, try to modify it into scrollable content and position it relative.example | Function(triggerNode) | () => document.body |
notFoundContent | Specify content to show when no result matches. | string | 'Not Found' |
placeholder | input placeholder | string | '请选择' |
popupClassName | additional className of popup overlay | string | - |
popupPlacement | use preset popup align config from builtinPlacements:bottomLeft bottomRight topLeft topRight | Enum | bottomLeft |
popupVisible | set visible of cascader popup | boolean | - |
showSearch | Whether show search input in single mode. | boolean | false |
size | input size, one of large default small | string | default |
style | additional style | string | - |
suffixIcon | The custom suffix icon | ReactNode | - |
value | selected value({ code: number; en?: string; zh?: string; desc?: string; desc_zh?: string; }) | object | - |
onChange | callback when finishing cascader select | ({ code: number; en: string; zh: string; desc: string; desc_zh: string; })) => void | - |
onPopupVisibleChange | callback when popup shown or hidden | (value) => void |
more parameters to ant-design cascader
FAQs
GICS select(antd v4)
The npm package industry-classification-select receives a total of 6 weekly downloads. As such, industry-classification-select popularity was classified as not popular.
We found that industry-classification-select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.