
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
rc-react-native-picker
Advanced tools
[](https://www.npmjs.com/package/react-native-picker) <img src="https://david-dm.org/beefe/react-native-picker.s
Key | Description | Type | Default |
---|---|---|---|
pickerConfirmBtnText | string | confirm | |
pickerCancelBtnText | string | cancel | |
pickerTitleText | string | pls select | |
pickerConfirmBtnColor | array | [1, 186, 245, 1] | |
pickerCancelBtnColor | array | [1, 186, 245, 1] | |
pickerTitleColor | array | [20, 20, 20, 1]) | |
pickerToolBarBg | array | [232, 232, 232, 1] | |
pickerBg | array | [196, 199, 206, 1] | |
pickerToolBarFontSize | number | 16 | |
pickerFontSize | number | 16 | |
pickerFontColor | array | [31, 31, 31, 1] | |
pickerData | array | ||
selectedValue | string | ||
onPickerConfirm | function | ||
onPickerCancel | function | ||
onPickerSelect | function |
Name | Description | Type | Default |
---|---|---|---|
init | init and pass parameters to picker | ||
toggle | show or hide picker | ||
show | show picker | ||
hide | hide picker | ||
select | select a row | array | |
isPickerShow | get status of picker, return a boolean |
npm install rc-react-native-picker --save
react-native link
import Picker from 'rc-react-native-picker';
let data = [];
for(var i=0;i<100;i++){
data.push(i);
}
Picker.init({
pickerData: data,
selectedValue: [59],
onPickerConfirm: data => {
console.log(data);
},
onPickerCancel: data => {
console.log(data);
},
onPickerSelect: data => {
console.log(data);
}
});
Picker.show();
1. parallel: such as time picker, wheels have no connection with each other
2. cascade: such as date picker, address picker .etc, when front wheel changed, the behind wheels will all be reset
pickerData = [1,2,3,4];
selectedValue = 3;
pickerData = [
[1,2,3,4],
[5,6,7,8],
...
];
selectedValue = [1, 5];
pickerData = [
{
a: [1, 2, 3, 4]
},
{
b: [5, 6, 7, 8]
},
...
];
selectedValue = ['a', 2];
pickerData = [
{
a: [
{
a1: [1, 2, 3, 4]
},
{
a2: [5, 6, 7, 8]
},
{
a3: [9, 10, 11, 12]
}
]
},
{
b: [
{
b1: [11, 22, 33, 44]
},
{
b2: [55, 66, 77, 88]
},
{
b3: [99, 1010, 1111, 1212]
}
]
},
{
c: [
{
c1: ['a', 'b', 'c']
},
{
c2: ['aa', 'bb', 'cc']
},
{
c3: ['aaa', 'bbb', 'ccc']
}
]
},
...
]
FAQs
[](https://www.npmjs.com/package/react-native-picker) <img src="https://david-dm.org/beefe/react-native-picker.s
The npm package rc-react-native-picker receives a total of 2 weekly downloads. As such, rc-react-native-picker popularity was classified as not popular.
We found that rc-react-native-picker 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.