
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
react-native-multiple-select-list
Advanced tools
Multiple select list with search bar
npm install --save react-native-multiple-select-list
import CustomMultiPicker from "react-native-multiple-select-list";
const userList = {
"123":"Tom",
"124":"Michael",
"125":"Christin"
}
<CustomMultiPicker
options={userList}
search={true} // should show search bar?
multiple={true} //
placeholder={"Search"}
placeholderTextColor={'#757575'}
returnValue={"label"} // label or value
callback={(res)=>{ console.log(res) }} // callback, array of selected items
rowBackgroundColor={"#eee"}
rowHeight={40}
rowRadius={5}
iconColor={"#00a2dd"}
iconSize={30}
selectedIconName={"ios-checkmark-circle-outline"}
unselectedIconName={"ios-radio-button-off-outline"}
scrollViewHeight={130}
selected={[1,2]} // list of options which are selected by default
/>
Prop | Type | Description |
---|---|---|
options | Object | list of options/items |
search | Boolean | if the search bar should be shown or not |
multiple | Boolean | if user can select multiple options or not. if you select an item which is already selected, it will be unselected. if multiple is disabled, it will work like radio buttons. |
placeholder | String | placeholder text for search bar |
placeholderTextColor | String | placeholder text color for search bar |
returnValue | String | should it return keys of selected options or values? |
callback | Function | whenever user selects or changes selections it will be called. |
rowBackgroundColor | String | background color for each row in list |
rowHeight | Integer | row height |
rowRadius | Integer | row border radius |
iconColor | String | icon color for checked/unchecked icons and search icon also border color of search bar |
iconSize | Integer | icon size for checked/unchecked icons |
selectedIconName | String | selected/checked icon name (react-native-vector-icons/Ionicon) |
unselectedIconName | String | unselected/unchecked icon name (react-native-vector-icons/Ionicon) |
scrollViewHeight | Integer | scrollview height (list of items) |
selected | Object | list of options which are selected by default |
Ata S.Mohammadi. ataomega@gmail.com
FAQs
react-native-multiple-select-list
The npm package react-native-multiple-select-list receives a total of 23 weekly downloads. As such, react-native-multiple-select-list popularity was classified as not popular.
We found that react-native-multiple-select-list 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
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.