Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcandillon/react-native-redash-docs
https://github.com/wcandillon/react-native-redash-docs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wcandillon/react-native-redash-docs
- Owner: wcandillon
- Created: 2020-09-09T17:39:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T17:35:03.000Z (over 3 years ago)
- Last Synced: 2024-04-15T00:07:41.031Z (7 months ago)
- Homepage: https://wcandillon.gitbook.io/redash/
- Size: 44.9 KB
- Stars: 19
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redash
The React Native Reanimated and Gesture Handler Toolbelt. As seen on the [“Can it be done in React Native?”](http://youtube.com/user/wcandill) YouTube series.
## Installation
```bash
yarn add react-native-redash
```## ⚠️ v1 Users ⚠️
v1 documentation: [https://wcandillon.github.io/react-native-redash-v1-docs/](https://wcandillon.github.io/react-native-redash-v1-docs/)
To access functions that work with Reanimated v1 nodes, use the following import:
```typescript
import {usePanGestureHandler} from "react-native-redash/lib/module/v1";
```To add TypeScript support for the v1 functions, add the following type to your `tsconfig`:
```javascript
"include": ["node_modules/react-native-redash/lib/typescript/v1/index.d.ts"]
```