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

rmc-cascader

Package Overview
Dependencies
Maintainers
6
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rmc-cascader

m-cascader ui component for react

  • 5.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
increased by4.02%
Maintainers
6
Weekly downloads
 
Created
Source

rmc-cascader


React Mobile Cascader Component (web and react-native)

NPM version react-native react build status Test coverage gemnasium deps node version npm download

Screenshots

web

native

Development

npm i
npm start

Example

http://localhost:8000/examples/

online example: http://react-component.github.io/m-cascader/

react-native

npm run rn-init
npm run watch-tsc
react-native start
react-native run-ios

install

rmc-cascader

API

Cascader props

namedescriptiontypedefault
className(web)additional css class of root dom nodeString''
prefixCls(web)prefix classString'rmc-cascader'
pickerPrefixCls(web)picker prefix classString'rmc-picker'
pickerItemStylepicker item style{}
dataThe data of cascadearray
valueselected valuearray
defaultValueinitial selected valuearray
onChangeFunction(value)-

rmc-cascader/lib/Popup props

namedescriptiontypedefault
className(web)additional css class of modal nodeString''
prefixCls(web)prefix classString'rmc-picker-popup'
style(web)additional styleobject{}
valueselected valuearray
cascaderReact Cascader element
onChangeexec on okFunction(value)
onDismissexec on dismissfunction
okTextok button textString'Ok'
dismissTextdismiss button textString'Dismiss'
titlePopup titleString''
visiblewhether pop picker is visibleBoolean
onVisibleChangecalled when pop picker visible changeFunction

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-cascader is released under the MIT license.

Keywords

FAQs

Package last updated on 28 Dec 2018

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