Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
react-native-js-cascade-picker
Advanced tools
A pure JavaScript animated component that renders a picker with a cascade effect. Useful for navigation bars.
A pure JavaScript animated component that renders a picker with a cascade effect. Useful for navigation bars.
$ yarn add react-native-js-cascade-picker
import CascadePicker from 'react-native-js-cascade-picker'
// Render your component
<CascadePicker
options={[{ value: 2, label: 'Two' }, { value: 4, label: 'Four' }]}
valueSelected={this.state.val}
onChange={(option: ?Object) => {
if (option) {
this.setState({ val: option.value })
}
}}
pickerText='Select one'
/>
Props | Type | Description | Required |
---|---|---|---|
options | Array<Option> | Yes | |
pickerText | string | Yes | |
onChange | Function | Returns an Option . | Yes |
valueSelected | any | A value to match into the Option s. | |
mainColor | string | ||
selectedColor | string | Color for the selected item. | |
itemColor | string | Color for the items. | |
separatorColor | string | Color for the separator. | |
selectedTextColor | string | ||
optionTextStyle | any | Style for the text option. |
MIT.
Álvaro Medina Ballester <amedina at apsl.net>
Built with 💛 by APSL.
FAQs
A pure JavaScript animated component that renders a picker with a cascade effect. Useful for navigation bars.
The npm package react-native-js-cascade-picker receives a total of 1 weekly downloads. As such, react-native-js-cascade-picker popularity was classified as not popular.
We found that react-native-js-cascade-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.