Gathering detailed insights and metrics for react-native-simple-picker-sh
Gathering detailed insights and metrics for react-native-simple-picker-sh
Gathering detailed insights and metrics for react-native-simple-picker-sh
Gathering detailed insights and metrics for react-native-simple-picker-sh
Highly customizable small sized picker library for react native
npm install react-native-simple-picker-sh
Typescript
Module System
Node Version
NPM Version
JavaScript (71.9%)
Java (16.58%)
Ruby (7.46%)
Objective-C (4.06%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
1 Stars
4 Commits
1 Forks
1 Branches
1 Contributors
Updated on Feb 12, 2020
Latest Version
1.0.9
Package Id
react-native-simple-picker-sh@1.0.9
Unpacked Size
22.03 kB
Size
6.15 kB
File Count
14
NPM Version
6.13.4
Node Version
10.13.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
1
$ npm install react-native-simple-picker-sh --save
E.g.:
import {Picker} from 'react-native-simple-picker'
export default class TestPicker extends Component{
state={
pickedItem:''
}
render(){
return(
<View>
<Picker
items={['foo','bar']}
selectedValue={this.state.pickedItem}
placeHolder="Select an item"
onChange={(item)=>this.setState({pickedItem:item})}
height={40}
width={170}
itemsHeight={40}
itemsWidth={150}
/>
</View>
)
}
}
##Props
Callback when item is selected onChange={(text)=>onChangeText(text)}
Array of items to be shown items=['foo','bar']
What should be shown after the item selection
Background color for the picker view
default value : '#F5F5F5'
Border color for the picker view
default value : '#E0E0E0'
Border width for the picker view
Border radius for the picker view
Height of the picker view
default value : 50
Width of the picker view
default value : 170
Justify content flex property for the selected or placeholder value and the dropdown icon
default value : 'space-between'
Align items flex property for the selected or placeholder value and the dropdown icon
default value : 'center'
Padding for the items inside the picker view
default value : 10
Opacity for the onPress event of the picker view(range[0-1])
default value : 0.2
Placeholder to be shown in dropdown in case of no picked selected value or default selected value
default value : 'Select...'
Color of the placeholder or the selected item
default value : '#212121'
Font size of the placeholder or the selected item
default value : 20
Color of the dropdown icon
default value : '#000'
Transparency outside the picker popup(range[0-1])
default value : 0.8
absolute X position of the picker popup
absolute Y position of the picker popup
Height of a single item inside picker popup
default value : 40
Width of a single item inside picker popup
default value : 150
BackgroundColor of the items inside the picker popup
default value : '#E0E0E0'
default value : '#E0E0E0'
default value : 1
default value : '#000'
default value : 19
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
1 existing vulnerabilities detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More