
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
react-native-multi-checkbox
Advanced tools
Multiple Checkbox component for React Native, it works on both iOS and Android.
npm i react-native-multi-checkbox --save
import MultiCheckbox from 'react-native-multi-checkbox'
Add react-native-multi-checkbox
to your js file.
import MultiCheckbox from 'react-native-multi-checkbox'
Add Inside render method of component , use MultiCheckbox component:
<MultiCheckbox
style={{flex:1, paddingBottom:10}}
items={[{ id: 1, label: "item 1" }, { id: 2, label: "item 2" }]}
labelPosition="right"
checkBoxColor="#fff"
checkedCheckBoxColor="#fff"
defaultSelected={[2]}
onPress={handleCheckboxChange}
labelStyle={{color: '#000000'}}
itemStyle={{marginBottom: 10}}
/>
Props | Optional | Default | Description |
---|---|---|---|
style | true | Custom style for section | |
itemStyle | true | Custom style for item (checckbox & label) | |
labelStyle | true | Custom style for label | |
items | false | Array data for items | |
defaultSelected | true | Array of id's | |
labelPosition | true | Right | Position of lable |
checkedCheckboxImage | true | Checkbox image | Custom checked Image |
unCheckedCheckboxImage | true | Unchecked checkbox image | Custom unchecked Image |
onPress | false | Callback function | |
checkBoxColor | true | Checkbox image tint color | |
checkedCheckBoxColor | true | Checked checkbox image tint color |
If there are any Issues then welcome. please attach screenshot of code and issue. Will solve issue ASAP.
Pull requests, feedbacks and suggestions are welcome!
FAQs
This is the package for multiple checkbox
The npm package react-native-multi-checkbox receives a total of 0 weekly downloads. As such, react-native-multi-checkbox popularity was classified as not popular.
We found that react-native-multi-checkbox 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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.