A library that provides an API for handling complex gestures.
GitHub
npm
react-native-gesture-handler
is a library for handling complex gestures. From it's README:
This library provides an API that exposes mobile platform-specific native capabilities of touch and gesture handling and recognition. It allows for defining complex gesture handling and recognition logic that runs 100% in the native thread and is therefore deterministic.
-
npx expo install react-native-gesture-handler
If you're installing this in a bare React Native app, you should also follow these additional installation instructions.
Read the react-native-gesture-handler
documentation for more information on the API and usage.