Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-native-bouncy-checkbox-group
Advanced tools
Fully customizable bouncy checkbox group for React Native
Add the dependency:
npm i react-native-bouncy-checkbox-group
"react-native-bouncy-checkbox": ">= 2.1.5"
import BouncyCheckboxGroup, {
ICheckboxButton,
} from "react-native-bouncy-checkbox-group";
<BouncyCheckboxGroup
data={staticData}
onChange={(selectedItem: ICheckboxButton) => {
console.log("SelectedItem: ", JSON.stringify(selectedItem));
}}
/>
<BouncyCheckboxGroup
data={verticalStaticData}
style={{ flexDirection: "column" }}
onChange={(selectedItem: ICheckboxButton) => {
console.log("SelectedItem: ", JSON.stringify(selectedItem));
}}
/>
You MUST follow this data format as ICheckboxButton
[
{
id: 0,
},
{
id: 1,
},
{
id: 2,
},
{
id: 3,
},
];
You can checkout the example project 🥰
Simply run
npm i
react-native run-ios/android
should work of the example project.
Property | Type | Default | Description |
---|---|---|---|
data | ICheckboxButton[] | undefined | set the checkboxes as a data |
onChange | function | undefined | set your own logic when the group of checkbox is selected |
You can use all of the customiztion options from the rn bouncy checkbox. You NEED to add the styling and props into the data
. Therefore, you can customize each of the checkboxes easly.
FreakyCoder, kurayogun@gmail.com
React Native Bouncy Checkbox Group is available under the MIT license. See the LICENSE file for more info.
FAQs
Fully customizable bouncy checkbox group for React Native
The npm package react-native-bouncy-checkbox-group receives a total of 180 weekly downloads. As such, react-native-bouncy-checkbox-group popularity was classified as not popular.
We found that react-native-bouncy-checkbox-group demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.