Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

industry-classification-select

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

industry-classification-select

GICS select(antd v4)

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

English| 简体中文

industry-classification-select

This is base on GICS, and used ant-design v4 Cascader

When To Use

When you need to select industry classification.

Online Demo

API

import IndustryClassificationSelect from 'industry-classification-select;

<IndustryClassificationSelect onChange={v => consle.log(v)}/>

Parameter

ParametersDescTypeDefault
allowClearwhether allow clearbooleantrue
changeOnSelectchange value on each selection if set to true, see above demo for detailsbooleanfalse
classNameadditional css classstring-
zhlanguage zh or enbooleanfalse
defaultValueinitial selected value({ code: number; en?: string; zh?: string; desc?: string; desc_zh?: string; })object-
disabledwhether disabled selectbooleanfalse
expandTriggerexpand current item when click or hover, one of 'click' 'hover'string‘click’
getPopupContainerParent 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.exampleFunction(triggerNode)() => document.body
notFoundContentSpecify content to show when no result matches.string'Not Found'
placeholderinput placeholderstring'请选择'
popupClassNameadditional className of popup overlaystring-
popupPlacementuse preset popup align config from builtinPlacements:bottomLeft bottomRight topLeft topRightEnumbottomLeft
popupVisibleset visible of cascader popupboolean-
showSearchWhether show search input in single mode.booleanfalse
sizeinput size, one of large default smallstringdefault
styleadditional stylestring-
suffixIconThe custom suffix iconReactNode-
valueselected value({ code: number; en?: string; zh?: string; desc?: string; desc_zh?: string; })object-
onChangecallback when finishing cascader select({ code: number; en: string; zh: string; desc: string; desc_zh: string; })) => void-
onPopupVisibleChangecallback when popup shown or hidden(value) => void

more parameters to ant-design cascader

Keywords

FAQs

Package last updated on 22 Dec 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc