
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
react-native-checkbox-touch-events
Advanced tools
Checkbox component for React native with onPressIn and onPressOut events.
##Installation:
Install the component through npm using:
npm install react-native-checkbox-touch-events --save
##Example:
import CheckBox from 'react-native-checkbox-touch-events';
<CheckBox
label='Label'
checked={true}
onChange={(checked) => console.log('I am checked', checked)}
onPressIn={pressIn}
onPressOut={pressOut}
/>
##Props:
label
: text that will be displayed along the checkboxlabelBefore
: position the label before the checkbox (boolean). The default
value is falselabelStyle
: style object that will be applied to the labelchecked
: initial checked valuecheckedImage
: checked image (e.g.: require('PATH_TO_IMAGE'))checkboxStyle
: style object that will be applied to the
checkboxuncheckedImage
: unchecked image (e.g.: require('PATH_TO_IMAGE'))onChange
: callback function that will be invoked with the toggled checked property as argument.containerStyle
: style object that will be applied to the
containerunderlayColor
: style the touchable component underlay colorFAQs
Checkbox component for React native
The npm package react-native-checkbox-touch-events receives a total of 1 weekly downloads. As such, react-native-checkbox-touch-events popularity was classified as not popular.
We found that react-native-checkbox-touch-events 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
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.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.