Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 8 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.