Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kacperkapusciak/gestures-demo
- Owner: kacperkapusciak
- Created: 2023-09-04T13:23:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-04T13:40:58.000Z (about 1 year ago)
- Last Synced: 2023-09-05T05:38:28.402Z (about 1 year ago)
- Language: JavaScript
- Size: 216 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```