{"_id":"react-native-image-viewer","_rev":"351045","name":"react-native-image-viewer","description":"Displaying multiple images in fullscreen mode that you can swipe through.","dist-tags":{"latest":"0.0.3"},"maintainers":[{"name":"chenxsan","email":"chenxsan@gmail.com"}],"time":{"modified":"2021-07-13T07:53:14.000Z","created":"2016-08-05T06:23:29.985Z","0.0.3":"2016-08-05T06:43:02.106Z","0.0.2":"2016-08-05T06:31:33.902Z","0.0.1":"2016-08-05T06:23:29.985Z"},"users":{"oblank":true},"author":{"name":"Sam Chen"},"repository":{"type":"git","url":"git+https://github.com/chenxsan/react-native-image-viewer.git"},"versions":{"0.0.3":{"name":"react-native-image-viewer","version":"0.0.3","description":"Displaying multiple images in fullscreen mode that you can swipe through.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chenxsan/react-native-image-viewer.git"},"keywords":["react-native"],"author":{"name":"Sam Chen"},"license":"MIT","bugs":{"url":"https://github.com/chenxsan/react-native-image-viewer/issues"},"homepage":"https://github.com/chenxsan/react-native-image-viewer#readme","dependencies":{"react-native-image-progress":"^0.6.0"},"peerDependencies":{"react":"^15.2.1","react-native":"^0.30.0"},"gitHead":"4b6bab2ebaf0fe345685de24c392cb1a1c939882","_id":"react-native-image-viewer@0.0.3","_shasum":"312266f173ae4362c2da318094163358d8862037","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"chenxsan","email":"chenxsan@gmail.com"},"dist":{"shasum":"312266f173ae4362c2da318094163358d8862037","size":4152192,"noattachment":false,"key":"/react-native-image-viewer/-/react-native-image-viewer-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-image-viewer/download/react-native-image-viewer-0.0.3.tgz"},"maintainers":[{"name":"chenxsan","email":"chenxsan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-native-image-viewer-0.0.3.tgz_1470379377796_0.2380787651054561"},"directories":{},"publish_time":1470379382106,"_cnpm_publish_time":1470379382106,"_hasShrinkwrap":false},"0.0.2":{"name":"react-native-image-viewer","version":"0.0.2","description":"Displaying multiple images in fullscreen mode that you can swipe through.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chenxsan/react-native-image-viewer.git"},"keywords":["react-native"],"author":{"name":"Sam Chen"},"license":"MIT","bugs":{"url":"https://github.com/chenxsan/react-native-image-viewer/issues"},"homepage":"https://github.com/chenxsan/react-native-image-viewer#readme","dependencies":{"react-native-image-progress":"^0.6.0"},"peerDependencies":{"react":"^15.2.1","react-native":"^0.30.0"},"gitHead":"4ec921e9b87f4b1a42e26c977a960fb0ae632b83","_id":"react-native-image-viewer@0.0.2","_shasum":"70dc2ace1ff726a123685ae0e3eb6edd8ebe5714","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"chenxsan","email":"chenxsan@gmail.com"},"dist":{"shasum":"70dc2ace1ff726a123685ae0e3eb6edd8ebe5714","size":4151903,"noattachment":false,"key":"/react-native-image-viewer/-/react-native-image-viewer-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-image-viewer/download/react-native-image-viewer-0.0.2.tgz"},"maintainers":[{"name":"chenxsan","email":"chenxsan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-image-viewer-0.0.2.tgz_1470378693633_0.9058304829522967"},"directories":{},"publish_time":1470378693902,"_cnpm_publish_time":1470378693902,"_hasShrinkwrap":false},"0.0.1":{"name":"react-native-image-viewer","version":"0.0.1","description":"Displaying multiple images in fullscreen mode that you can swipe through.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chenxsan/react-native-image-viewer.git"},"keywords":["react-native"],"author":{"name":"Sam Chen"},"license":"MIT","bugs":{"url":"https://github.com/chenxsan/react-native-image-viewer/issues"},"homepage":"https://github.com/chenxsan/react-native-image-viewer#readme","dependencies":{"react-native-image-progress":"^0.6.0"},"peerDependencies":{"react":"^15.2.1","react-native":"^0.30.0"},"gitHead":"cf116a728e6fc7018495a361d752d2cde3597970","_id":"react-native-image-viewer@0.0.1","_shasum":"77c13e1b5b67837f6c4c5a27cf7c033679cc8409","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"chenxsan","email":"chenxsan@gmail.com"},"dist":{"shasum":"77c13e1b5b67837f6c4c5a27cf7c033679cc8409","size":4151875,"noattachment":false,"key":"/react-native-image-viewer/-/react-native-image-viewer-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-image-viewer/download/react-native-image-viewer-0.0.1.tgz"},"maintainers":[{"name":"chenxsan","email":"chenxsan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-image-viewer-0.0.1.tgz_1470378209704_0.560943636810407"},"directories":{},"publish_time":1470378209985,"_cnpm_publish_time":1470378209985,"_hasShrinkwrap":false}},"readme":"# react-native-image-viewer (iOS only)\n\nDisplaying multiple images in fullscreen mode that you can swipe through.\n\n## Installation\n\n```\nnpm install react-native-image-viewer --save\n```\n\n## Features\n\n1. Swipeable images in fullscreen mode\n2. Pinch to zoom\n\n## Usage\n\nYou should provide those props to the Component:\n\n1. `modalVisibility` {Boolean} - decide whether to show the modal\n2. `closeModal` {Function} - close modal\n3. `navigationState` {Object} - its' used with [NavigationExperimental](https://github.com/facebook/react-native/tree/master/Libraries/NavigationExperimental).\n\n    You `navigationState` will looke like this:\n\n        ```\n        {\n          index: 0,\n          routes: [\n            {\n              key: '1',\n              url: 'https://example.com/image.png',\n              size: 1000\n            }\n          ]\n        }\n        ```\n    You should specify width of the image by `size`, it's used to define how large you can zoom the image.\n\nCheck the [example](https://github.com/chenxsan/react-native-image-viewer-example/blob/master/index.ios.js) repository.\n\n## Screenshot\n\n![react-native-image-viewer screenshot](react-native-image-viewer.gif)\n\n## Code style\n\nuse [standardjs](http://standardjs.com/).\n\n## TODO\n\n[ ] add test","_attachments":{},"homepage":"https://github.com/chenxsan/react-native-image-viewer#readme","bugs":{"url":"https://github.com/chenxsan/react-native-image-viewer/issues"},"license":"MIT"}