
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
react-native-swipe-gesture-handler
Advanced tools
This package will help you to manage swipe gestures in your react native application.
This is a simple react native geture handler package which will save you tons of hours to detect the gesture handle for swiping on your phone.
yarn add react-native-swipe-gesture-handler
import { SwipeGesture } from "react-native-swipe-gesture-handler";
const onSwipePerformed = (action) => {
switch(action){
case 'left':{
console.log('left Swipe performed');
break;
}
case 'right':{
console.log('right Swipe performed');
break;
}
case 'up':{
console.log('up Swipe performed');
break;
}
case 'down':{
console.log('down Swipe performed');
break;
}
default : {
console.log('Undeteceted action');
}
}
}
<SwipeGesture
onSwipePerformed={onSwipePerformed}
>
<View>
Your View Component
</View>
</SwipeGesture>
FAQs
This package will help you to manage swipe gestures in your react native application.
The npm package react-native-swipe-gesture-handler receives a total of 302 weekly downloads. As such, react-native-swipe-gesture-handler popularity was classified as not popular.
We found that react-native-swipe-gesture-handler 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.