Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kacperkapusciak/gestures-demo

Demo app using gestures from React Native Gesture Handler
https://github.com/kacperkapusciak/gestures-demo

Last synced: about 1 month ago
JSON representation

Demo app using gestures from React Native Gesture Handler

Awesome Lists containing this project

README

        

# React Native Gesture Handler gestures

This repo shows the example usage of the following gestures:

- [`Gesture.Pan()`](https://github.com/kacperkapusciak/gestures-demo/blob/main/gestures/Pan.js)
- [`Gesture.Tap()`](https://github.com/kacperkapusciak/gestures-demo/blob/main/gestures/Tap.js)
- [`Gesture.LongPress()`](https://github.com/kacperkapusciak/gestures-demo/blob/main/gestures/LongPress.js)
- [`Gesture.Rotation()`](https://github.com/kacperkapusciak/gestures-demo/blob/main/gestures/Rotation.js)
- [`Gesture.Pinch()`](https://github.com/kacperkapusciak/gestures-demo/blob/main/gestures/Pinch.js)
- [`Gesture.Fling()`](https://github.com/kacperkapusciak/gestures-demo/blob/main/gestures/Fling.js)

Project works on iOS, Android, and Web via Expo Go.

## Running project locally

1. Clone the project

```sh
git clone https://github.com/kacperkapusciak/gestures-demo.git
```

2. Install the dependencies

```
npm install
```

3. Run project

```sh
npm run start

# Run on platforms of your choice
npm run android
npm run ios
npm run web
```