Update 2021-01-17: @prc is fortunately back at maintaining the original package react-zoom-pan-pinch. I believe that all the issues fixed in this fork are now also fixed in the original package, so this fork is no longer maintained.
If you're using @pronestor/react-zoom-pan-pinch
in your project, you can safely switch to react-zoom-pan-pinch
with these steps:
- Uninstall this fork with
yarn remove @pronestor/react-zoom-pan-pinch
/npm uninstall @pronestor/react-zoom-pan-pinch
. - Install the original package with
yarn add react-zoom-pan-pinch
/npm install react-zoom-pan-pinch
. - Replace
@pronestor/react-zoom-pan-pinch
withreact-zoom-pan-pinch
in the imports in your code.