Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@tele2/react-native-select-input
Advanced tools
Readme
Easy-peasy select input picker for React Native.
iOS | Android |
---|---|
You can try the demo app here.
npm install @tele2/react-native-select-input --save
import React, { Component } from 'react';
import SelectInput from '@tele2/react-native-select-input';
class MyComponent extends Component {
render() {
<SelectInput
options={[{
value: 'my-option-value',
label: 'My option label',
}]}
/>
}
}
export default MyComponent;
You can see more examples in the example app.
Property | Type | Required | Default value | Description |
---|---|---|---|---|
label | string | no | null | Label to be shown on the top of the input. |
placeholder | string | no | string | Placeholder to be shown if the input has no value. |
done | string | no | string | String that shows on the header of the select input in iOS. |
value | string/number | no | null | Current input value. |
options | arrayOf | yes | Check here | Options available to be selected. |
disabled | bool | no | false | Whether the input is disabled or not. |
loading | bool | no | false | Whether the input is on loading state or not. |
colors | shape | no | Check here | Colors to easily personalize the input. |
onChange | function | no | null | Function to be called whenever the input value is changed. |
renderLabel | function | no | null | Function to render a custom label. |
labelProps | object | no | null | Props to be passed to the label <Text /> component. |
valueProps | object | no | null | Props to be passed to the value <Text /> component. |
renderArrowIcon | function | no | null | Function to render a custom arrow icon. |
labelStyle | custom | no | null | Custom label style. |
loadingContainerStyle | custom | no | null | Custom style for the loading container. |
valueContainerStyle | custom | no | null | Custom style for the value container. |
valueStyle | custom | no | null | Custom value style. |
containerStyle | custom | no | null | Custom style for the container of the input. |
innerContainerStyle | custom | no | null | Custom style for the inner container of the input. |
arrowIcon | no | null | ||
testProperty | string | no | Property for setting a testID (iOS) / accessibilityLabel (Android) for testing |
MIT © Tele2 Netherlands.
FAQs
Easy-peasy select input picker for React Native
The npm package @tele2/react-native-select-input receives a total of 55 weekly downloads. As such, @tele2/react-native-select-input popularity was classified as not popular.
We found that @tele2/react-native-select-input 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.