
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.