Installation
Install react-native-zoom-toolkit
in your project
sh
npm install react-native-zoom-toolkit
sh
yarn add react-native-zoom-toolkit
Dependencies
This library relies on both Reanimated and Gesture Handler being part of your project, if you do not have them installed already please refer to Reanimated and Gesture Handler installation guides.
Beware iOS users
Dragging the components around as you pinch is disabled by default for iOS users unless you install a version of Gesture Handler greater than equals 2.16.0
.
For more information see this Gesture Handler's issue and this issue.
sh
npm install react-native-gesture-handler react-native-reanimated
sh
yarn add react-native-gesture-handler react-native-reanimated
sh
npx expo install react-native-gesture-handler react-native-reanimated
Addiotional Setup
No addiontal setup is required.