
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
react-native-swipe-gestures-recognizer
Advanced tools
Gesture recognizer component made with react-native-gesture-handler
![]() | ![]() | ![]() | ![]() |
---|
Open a Terminal in the project root and run:
yarn add react-native-gestures-recognizer
or if you use npm
:
npm install react-native-gestures-recognizer
If you are using Expo, you are done.
If you don't use Expo, install and link react-native-gesture-handler.
name | required | default | description |
---|---|---|---|
config | no | the config object (todo) | |
onSwipe | no | null | The function that runs on every swipe and returns swipeDirection and PanGestureHandlerGestureEvent |
onSwipeUp | no | null | The function that runs when a SWIPE_UP is detected. |
onSwipeLeft | no | null | The function that runs when a SWIPE_LEFT is detected. |
onSwipeRight | no | null | The function that runs when a SWIPE_RIGHT is detected. |
onSwipeDown | no | null | The function that runs when a SWIPE_DOWN is detected. |
More complex examples can be found in the Example
folder.
yarn
cd Example
yarn
yarn start
FAQs
Gesture recognizer component made with react-native-gesture-handler
The npm package react-native-swipe-gestures-recognizer receives a total of 2 weekly downloads. As such, react-native-swipe-gestures-recognizer popularity was classified as not popular.
We found that react-native-swipe-gestures-recognizer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.