Package Exports
- react-native-redash
- react-native-redash/lib/module/v1
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-redash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
redash
The React Native Reanimated and Gesture Handler Toolbelt. As seen on the “Can it be done in React Native?” YouTube series.
Installation
yarn add react-native-redash
Documentation
https://wcandillon.gitbook.io/redash/
⚠️ v1 Users ⚠️
v1 documentation: https://wcandillon.github.io/react-native-redash-v1-docs/
To access functions that work with Reanimated v1 nodes, use the following import:
import {usePanGestureHandler} from "react-native-redash/lib/module/v1";
To add TypeScript support for the v1 functions, add the following type to your tsconfig
:
"include": ["node_modules/react-native-redash/lib/typescript/v1/index.d.ts"]