{"_id":"@alcides.bsilvaneto/react-native-image-zoom-viewer","_rev":"2-0b36b43f985e8b01613626cb3b5f7fc7","name":"@alcides.bsilvaneto/react-native-image-zoom-viewer","dist-tags":{"latest":"3.0.3"},"versions":{"3.0.1":{"name":"@alcides.bsilvaneto/react-native-image-zoom-viewer","version":"3.0.1","description":"react native image viewer,大图浏览","main":"built/index.js","types":"built/index.d.ts","scripts":{"prepare":"rm -rf built && tsc","start":"tsc -w --outDir demo/built"},"repository":{"type":"git","url":"git+https://github.com/ascoders/react-native-image-viewer.git"},"keywords":["image-viewer"],"author":{"name":"ascoders"},"license":"MIT","dependencies":{"react-native-image-pan-zoom":"^2.1.12"},"peerDependencies":{"react":"*","react-native":"*"},"devDependencies":{"@types/react":"*","@types/react-native":"*","ascoders-tslint-config":"^1.0.2","react":"*","react-native":"*","tslint":"^5.8.0","tslint-config-prettier":"^1.13.0","typescript":"^2.9.2"},"gitHead":"90de07413ba15c000a72df7e41d4563b907f0e3e","bugs":{"url":"https://github.com/ascoders/react-native-image-viewer/issues"},"homepage":"https://github.com/ascoders/react-native-image-viewer#readme","_id":"@alcides.bsilvaneto/react-native-image-zoom-viewer@3.0.1","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Ujz9+427PAHAHnEIOBG9IpyC0MHGJRaLSGUXo9UhybaB4qxXCPedwEGM8JQ1YLA0UQuAGrRy8kEF43qZmRkMfA==","shasum":"d246fef03d126685f51ea28fc207d4c0f15ce3fb","tarball":"https://registry.npmjs.org/@alcides.bsilvaneto/react-native-image-zoom-viewer/-/react-native-image-zoom-viewer-3.0.1.tgz","fileCount":22,"unpackedSize":116588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVYuhFpRGS1XubqpxhbZYtClxT1SRmpwp/kt9IaSrESwIhAOz9wYsZ7PmGuLtlOz+x7M6d0zO94iskaJ1FFiRVBUeT"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigoTmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvaA//ae1Mcxc3OusjIHB7ymT5lO/lhrWxTH9AVCLm3NrpTX9uG72O\r\nsxigOPFz7rt6hiUlvwD7/IOkPT+TGXNauv9Gbf0PqOLsrRsCM4C4PrT39Xh/\r\nXe1fFP34G8v6cjlqbu7Op3etrrz0EVw43Xb+NyrWAkAtqw1lVPwBNmDE1RKJ\r\nd1bdxhYEtj0zCU8MTRByglbXaqKs48mDR8YlJYeSMrhvGsv0LiQfsWExVTUH\r\n0kCsbg6aTwhhzfbiPHWVAFtZL5B5Thno0md7G35FoHRN3YJGzOAXEUDUt3WK\r\nb7QDvAWEKFSD08RL2QBD8In7jiyqEh0AeFy8+uC7dVcLKxyxAVogIWoGuSwi\r\nca9YEZJpJj/PxOmyRsHSZu/HBRC1TfgF9HiBXgf3ZmcIiJANmWE1xkwLHuEo\r\nvqvkxtvcEHx1VaNjD3MTj4PHbj2oDmOF77k4Zgy0owj0V3tSki8UDxP3emTH\r\nWjfQUqJ2DtA8eVbCySueJQ+tnZmg/X1IAEwp589Yd6jO8b7iEkAr+5ukRGVa\r\n4iAw8ysErX0XR0Ok3lVLOD0pPsV7pScYzVXQRds5XM5+TSvlAyo1mn4bxVq0\r\n7jnik/ToxApuNA3uSlsstcMUaY+NF9/Naa2HLAb0IQEVpJZxwPr3dDHO8Kpa\r\nPgsC0L7YpXd2CvfF+Q0NGVRf6S3OuwaH2vM=\r\n=XYqU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"},"directories":{},"maintainers":[{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom-viewer_3.0.1_1652720870305_0.026190989005792087"},"_hasShrinkwrap":false},"3.0.2":{"name":"@alcides.bsilvaneto/react-native-image-zoom-viewer","version":"3.0.2","description":"react native image viewer,大图浏览","main":"built/index.js","types":"built/index.d.ts","scripts":{"prepare":"rm -rf built && tsc","start":"tsc -w --outDir demo/built"},"repository":{"type":"git","url":"https://github.com/ascoders/react-native-image-viewer.git"},"keywords":["image-viewer"],"author":{"name":"ascoders"},"license":"MIT","dependencies":{"react-native-image-pan-zoom":"^2.1.12"},"peerDependencies":{"react":"*","react-native":"*"},"devDependencies":{"@types/react":"*","@types/react-native":"*","ascoders-tslint-config":"^1.0.2","react":"*","react-native":"*","tslint":"^5.8.0","tslint-config-prettier":"^1.13.0","typescript":"^2.9.2"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 ascoders\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alcides.bsilvaneto/react-native-image-zoom-viewer@3.0.2","dist":{"shasum":"233e40126a809c2f17a5ff8245ea839ffc0072bc","integrity":"sha512-a6v5XZiHzCkUYgDgtpYuQgtCbYaGhjosZwMcTJAtc3GSk7HG1RXNwTWoT65y+h0RH8r8CINluV5pMxu1VDNZuw==","tarball":"https://registry.npmjs.org/@alcides.bsilvaneto/react-native-image-zoom-viewer/-/react-native-image-zoom-viewer-3.0.2.tgz","fileCount":26,"unpackedSize":378829,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEhbpeNQOpcC4i5qDWeTR6LXYnm91RBG5HPN++YuVCgAiEAqLRiMs1LRyxEQ5+s/T4k1RCYy+I+Zxs6TD6R9uXYKHQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigoclACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprKA//UEMCoWY3z8sgJtQ3EDaqLLay45BGkESKsqcUbGlP1QLwRWQu\r\nloZfhOVWaWD//N5f4Jm2jL+P2H0ZO4hF/cLVdXHshjFZoV1tDnwIVopTm7YJ\r\nflPHlsU79HDnIzhXSSwMWNsKRHr91w/Sv5/xiySVOAh9EyD82Jds2ebXzWZC\r\nRMwwvQUeF3EOrlFNUzNHTDnpcxLNdTH+6xM9vZITZk3eGMi4FFJE931NrEGc\r\n/3DAsbJ0+EzNCVfm+8e7/1DblLcKb0yseFV4pElBymXkTUUO0u6fvmRpkPw7\r\nVrhiKNrhYqhTZcnzkt20+qVkmwnN1sj0lrSjjVYReznQI+O38uowDivFHmnx\r\nyLufpKKYTaeZCw7qr4VaRNYNlavAluSJKFsFDLYv3Cqz2lMFM67MNE0h9AFo\r\nBVy0prTyStZQQkFBNjxwhLoHMts+3b5zJ7CLVJWuryFMnPsK7t5gSJXJMwTZ\r\nQgmbfYlleeWx6tqhGzEqbx4CarqSnPAYjwG4fCgo1kKjE33dcQR3YTeKNciy\r\nlbkitR3zQezpp+2hfgCkYm20HRuubnHbrta7Qw1/tINoRadc3AfMNJ3zlAib\r\n/BHhCgA+xQ+DiaPJ4w3xEnHaiiU3QyA6eM3iMnJ4F5uRZKLFL/+Dq4pbYed1\r\nJRqFY0MofQAMIjvxNgzquE1DeM45MjNREo4=\r\n=FT+f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"},"directories":{},"maintainers":[{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom-viewer_3.0.2_1652721445429_0.17520057470511285"},"_hasShrinkwrap":false},"3.0.3":{"name":"@alcides.bsilvaneto/react-native-image-zoom-viewer","version":"3.0.3","description":"react native image viewer,大图浏览","main":"built/index.js","types":"built/index.d.ts","scripts":{"prepare":"rm -rf built && tsc","start":"tsc -w --outDir demo/built"},"repository":{"type":"git","url":"https://github.com/ascoders/react-native-image-viewer.git"},"keywords":["image-viewer"],"author":{"name":"ascoders"},"license":"MIT","dependencies":{"react-native-image-pan-zoom":"^2.1.12"},"peerDependencies":{"react":"*","react-native":"*"},"devDependencies":{"@types/react":"*","@types/react-native":"*","ascoders-tslint-config":"^1.0.2","react":"*","react-native":"*","tslint":"^5.8.0","tslint-config-prettier":"^1.13.0","typescript":"^2.9.2"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 ascoders\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alcides.bsilvaneto/react-native-image-zoom-viewer@3.0.3","dist":{"shasum":"09c87e76a2d2ec21072a6f1da88698ce6aa4618d","integrity":"sha512-DrTowBwwYEjoLOmRCKEeDEgkyOSBjjrir0W0FFfGuQtR2SXSogqgMT3XiwozeEtaVDIsqYHll+5GEUKylZJQ4w==","tarball":"https://registry.npmjs.org/@alcides.bsilvaneto/react-native-image-zoom-viewer/-/react-native-image-zoom-viewer-3.0.3.tgz","fileCount":26,"unpackedSize":379620,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1pNsUWmXn4OXDfxgBlQnIli9NVnIioIMZifgYgnaUQAiB4COKNuXGC3Y9O+HO5PH0F9IoE1nkC6L6XCsCtwi/O/g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigopwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorzA/+I5ZA4SDiCz3ZHBASoW6a8fKM1x0QNdPHx2bWC9D35ROpI8za\r\n3Yfmad/DP+fS/21nifCLP1YlqnUws1QnFP70eNmtF6Sowky5E4tZwI21+eyu\r\nQU32r74Xe11yINdQbqdZy7rzfL1MWXQZvpnScCpgTRjLYQy/4wfNLSey95No\r\nj+XpyZApnah7xGsDfm1iroU0KohFugOk3LmIsGsLFF5WtEBVQd/d0EwjGgkE\r\nTQ/dW9D84JF4muo4Ka+TBP7LZSJmIDrKuYmUXO51gA8WGbCVg8qShZAt/La1\r\nd5xD6NYee5AGcLb9iW2y/NVEgoBVrffXOBAK+4Ac9Rt1EJbn4my0J8R7UgYy\r\nJtHj/Sszyf8uiQtMl0RhaJSSJ4zHytpZRSQzx16zjF6JFcTqOc8IvKNWA8cx\r\nEO2o/pTSz3HmqV3mW6Ye1fyAKk1KDydgtUcm7G5Il+pHMZ/V9hQfhlsTGILO\r\nzAbZkmoqZbMhe0io6cydwW35gQ4jKLByuV0ZUra5CoeLHwoq9wdSrGkEmfdK\r\nZCLq3V3xIVDlloDGfyEpdRrWoGZpV6Z5MwuRMJGTFnTaIwnKnc9IKBbt0VGV\r\n9nqi2pELAWf1VkDe9cWpOLPRkxlA2/L6i8TNglmkfrXjKRwKD18PEMRt+XJS\r\nQDonoYLPCAgQ9Z8i9ySiIms+ZIZczvdpbCQ=\r\n=b4OR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"},"directories":{},"maintainers":[{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom-viewer_3.0.3_1652722288124_0.9715514169145278"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-16T17:07:50.237Z","3.0.1":"2022-05-16T17:07:50.573Z","modified":"2022-05-16T17:31:28.355Z","3.0.2":"2022-05-16T17:17:25.679Z","3.0.3":"2022-05-16T17:31:28.289Z"},"maintainers":[{"name":"alcides.bsilvaneto","email":"alcides.bsilvaneto@gmail.com"}],"description":"react native image viewer,大图浏览","keywords":["image-viewer"],"repository":{"type":"git","url":"https://github.com/ascoders/react-native-image-viewer.git"},"author":{"name":"ascoders"},"license":"MIT","readme":"## Show Cases\n\n**Swiper image**\n\n![](https://cloud.githubusercontent.com/assets/7970947/21086300/388dedfc-c056-11e6-955e-0a2a0b541f7f.gif)\n\n**Zoom while sliding**\n\n![](https://cloud.githubusercontent.com/assets/7970947/21086323/7355face-c056-11e6-8d68-384000d41d47.gif)\n\n**Swipe down**\n\n![](https://user-images.githubusercontent.com/7970947/37651584-8b642458-2c73-11e8-9ecc-ef7c72aca1be.gif)\n\n## Getting Started\n\n### Installation\n\n```bash\nnpm i react-native-image-zoom-viewer --save\n```\n\n### Basic Usage\n\n- Install create-react-native-app first\n\n```bash\n$ npm install -g create-react-native-app\n```\n\n- Initialization of a react-native project\n\n```bash\n$ create-react-native-app AwesomeProject\n```\n\n- Then, edit `AwesomeProject/App.js`, like this:\n\n```typescript\nimport { Modal } from 'react-native';\nimport ImageViewer from 'react-native-image-zoom-viewer';\n\nconst images = [{\n    // Simplest usage.\n    url: 'https://avatars2.githubusercontent.com/u/7970947?v=3&s=460',\n\n    // width: number\n    // height: number\n    // Optional, if you know the image size, you can set the optimization performance\n\n    // You can pass props to <Image />.\n    props: {\n        // headers: ...\n    }\n}, {\n    url: '',\n    props: {\n        // Or you can set source directory.\n        source: require('../background.png')\n    }\n}]\n\nexport default class App extends React.Component {\n    render: function() {\n        return (\n            <Modal visible={true} transparent={true}>\n                <ImageViewer imageUrls={images}/>\n            </Modal>\n        )\n    }\n}\n```\n\n### Props\n\n| parameter              | type                                                                                   | required | description                                                                                                                                                                                                                          | default                                                   |\n| :--------------------- | :------------------------------------------------------------------------------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |\n| imageUrls              | array                                                                                  | yes      | Image Source                                                                                                                                                                                                                         |                                                           |\n| enableImageZoom        | boolean                                                                                | no       | Enable image zoom                                                                                                                                                                                                                    | `true`                                                    |\n| onShowModal            | function<br><br>`(content?: JSX.Element) => void`                                      | no       | The callback for show modal                                                                                                                                                                                                          | `() => {}`                                                |\n| onCancel               | function<br><br>`() => void`                                                           | no       | The callback for cancel modal                                                                                                                                                                                                        | `() => {}`                                                |\n| flipThreshold          | number                                                                                 | no       | Swipe threshold of the next page                                                                                                                                                                                                     | `80`                                                      |\n| maxOverflow            | number                                                                                 | no       | The X position maximum, that current page can slide to the next page                                                                                                                                                                 | `300`                                                     |\n| index                  | number                                                                                 | no       | Init index of images                                                                                                                                                                                                                 | `0`                                                       |\n| failImageSource        | string, object<br><br>`{url: string}`                                                  | no       | placeholder for fail                                                                                                                                                                                                                 | `''`                                                      |\n| loadingRender          | function<br><br>`() => React.ReactElement<any>`                                        | no       | placeholder for loading                                                                                                                                                                                                              | `() => null`                                              |\n| onSaveToCamera         | function<br><br>`(index?: number => void`                                              | no       | The callback for save to camera                                                                                                                                                                                                      | `() => {}`                                                |\n| onChange               | function<br><br>`(index?: number => void`                                              | no       | When the image changed                                                                                                                                                                                                               | `() => {}`                                                |\n| onMove                 | ( position: [IOnMove](https://github.com/ascoders/react-native-image-zoom/blob/master/src/image-zoom/image-zoom.type.ts) )=>void | reports movement position data (helpful to build overlays)                                                                                                            | ()=> {}      |\n| saveToLocalByLongPress | boolean                                                                                | no       | Enable save to camera when long press                                                                                                                                                                                                | `true`                                                    |\n| onClick                | function<br><br>`(onCancel?: function) => void`                                        | no       | Onclick                                                                                                                                                                                                                              | `(onCancel) => {onCancel()}`                              |\n| onDoubleClick          | function<br><br>`(onCancel?: function) => void`                                        | no       | OnDoubleClick                                                                                                                                                                                                                        | `(onCancel) => {onCancel()}`                              |\n| onSave                 | function<br><br>`(url: string) => void`                                                | no       | The picture is saved to the local method, if you write this method will not call the system default method for Android does not support saveToCameraRoll remote picture, you can call this callback in Android call native interface |                                                           |\n| renderHeader           | function<br><br>`(currentIndex?: number) => React.ReactElement<any>`                   | no       | Custom header                                                                                                                                                                                                                        | `() => null`                                              |\n| renderFooter           | function<br><br>`(currentIndex?: number) => React.ReactElement<any>`                   | no       | Custom footer                                                                                                                                                                                                                        | `() => null`                                              |\n| renderIndicator        | function<br><br>`(currentIndex?: number, allSize?) => React.ReactElement<any>`: number | no       | Custom indicator                                                                                                                                                                                                                     | `(currentIndex, allSize) => currentIndex + \"/\" + allSize` |\n| renderImage            | function<br><br>`(props: any) => React.ReactElement<any>`                              | no       | Custom image component                                                                                                                                                                                                               | `(props) => <Image {...props} />`                         |\n| renderArrowLeft        | function<br><br>`() => React.ReactElement<any>`                                        | no       | Custom left arrow                                                                                                                                                                                                                    | `() => null`                                              |\n| renderArrowRight       | function<br><br>`() => React.ReactElement<any>`                                        | no       | Custom right arrow                                                                                                                                                                                                                   | `() => null`                                              |\n| onSwipeDown            | function<br><br>`() => void`                                                           | no       | Callback for swipe down                                                                                                                                                                                                              | `() => null`                                              |\n| footerContainerStyle   | object<br><br>`{someStyle: someValue}`                                                 | no       | custom style props for container that will be holding your footer that you pass                                                                                                                                                      | `bottom: 0, position: \"absolute\", zIndex: 9999`           |\n| backgroundColor        | string<br><br>`white`                                                                  | no       | Component background color                                                                                                                                                                                                           | `black`                                                   |\n| enableSwipeDown        | boolean                                                                                | no       | Enable swipe down to close image viewer. When swipe down, will trigger onCancel.                                                                                                                                                     | `false`                                                   |\n| swipeDownThreshold     | number                                                                                 | no       | Threshold for firing swipe down function                                                                                                                                                                                             |                                                           |\n| doubleClickInterval    | number                                                                                 | no       | Double click interval.                                                                                                                                                                                                               |                                                           |\n| pageAnimateTime        | number                                                                                 | no       | Set the animation time for page flipping.                                                                                                                                                                                            | `100`                                                     |\n| enablePreload          | boolean                                                                                | no       | Preload the next image                                                                                                                                                                                                               | `false`                                                   |\n| useNativeDriver        | boolean                                                                                | no       | Whether to animate using [`useNativeDriver`](https://reactnative.dev/docs/animations#using-the-native-driver)                                                                                                                        | `false`                                                   |\n| menus                  | function<br><br>`({cancel,saveToLocal}) => React.ReactElement<any>`                    | no       | Custom menus, with 2 methods:`cancel` to hide menus and `saveToLocal` to save image to camera\n| menuContext            | object<br><br>`{someKey: someValue}`                                                   | no       | Custom menu context.                              | `{ saveToLocal: 'save to the album', cancel: 'cancel' }`\n## Development pattern\n\n### Step 1, run TS listener\n\nAfter clone this repo, then:\n\n```bash\nnpm install\nnpm start\n```\n\n### Step 2, run demo\n\n```bash\ncd demo\nnpm install\nnpm start\n```\n\nThen, scan the QR, use your [expo app](https://expo.io./).\n\n### Dependence\n\nDepend on `react-native-image-pan-zoom`: https://github.com/ascoders/react-native-image-zoom\n","readmeFilename":"README.md"}