Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
rmc-cascader
Advanced tools
React Mobile Cascader Component (web and react-native)
npm i
npm start
http://localhost:8000/examples/
online example: http://react-component.github.io/m-cascader/
npm run rn-init
npm run watch-tsc
react-native start
react-native run-ios
name | description | type | default |
---|---|---|---|
className(web) | additional css class of root dom node | String | '' |
prefixCls(web) | prefix class | String | 'rmc-cascader' |
pickerPrefixCls(web) | picker prefix class | String | 'rmc-picker' |
pickerItemStyle | picker item style | {} | |
data | The data of cascade | array | |
value | selected value | array | |
defaultValue | initial selected value | array | |
onChange | Function(value) | - |
name | description | type | default |
---|---|---|---|
className(web) | additional css class of modal node | String | '' |
prefixCls(web) | prefix class | String | 'rmc-picker-popup' |
style(web) | additional style | object | {} |
value | selected value | array | |
cascader | React Cascader element | ||
onChange | exec on ok | Function(value) | |
onDismiss | exec on dismiss | function | |
okText | ok button text | String | 'Ok' |
dismissText | dismiss button text | String | 'Dismiss' |
title | Popup title | String | '' |
visible | whether pop picker is visible | Boolean | |
onVisibleChange | called when pop picker visible change | Function |
npm test
npm run chrome-test
npm run coverage
open coverage/ dir
rmc-cascader is released under the MIT license.
5.0.3 / 2018-12-28
Fix cascade effect, Closes #22
Upgrade dependence array-tree-filter
to 2.1.x, Closes #34
FAQs
m-cascader ui component for react
The npm package rmc-cascader receives a total of 7,238 weekly downloads. As such, rmc-cascader popularity was classified as popular.
We found that rmc-cascader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.