Expo

Documentation

Hi friend! Meet us at App.js Conf in Krakow, Poland on April 4th and 5th with workshops and talks. Learn more

GestureHandler

An API for handling complex gestures. From the project's README:
This library provides an API that exposes mobile platform specific native capabilities of touch & gesture handling and recognition. It allows for defining complex gesture handling and recognition logic that runs 100% in native thread and is therefore deterministic.
Read the react-native-gesture-handler README for more information on the API and usage.
import { GestureHandler } from 'expo';

// You can alternatively import from the react-native-gesture-handler package.
// The Expo import is an alias for it and ensures that you have the correct
// version of the package for the version of Expo that you are using
// import GestureHandler from 'react-native-gesture-handler';