{"repo":"booyeu/react-native-reanimated-viewer","free":true,"listed":false,"github":"https://github.com/booyeu/react-native-reanimated-viewer","clone":"git clone https://github.com/booyeu/react-native-reanimated-viewer.git","description":"A high performance image viewer in react-native created from react-native-reanimated.","language":"TypeScript","stars":125,"topics":["react-native-image-viewer","react-native","react-native-image-zoom-viewer","react-native-reanimated","react-native-reanimated-image-viewer","wechat","weixin","android","image","image-viewer"],"license":null,"category":"mobile-apps","readme_excerpt":"react-native-reanimated-viewer A high performance image viewer in react-native created from react-native-reanimated. Install Then you need follow the extra steps to finish the installation: react-native-reanimated & react-native-gesture-handler. Example example.gif use ImageWrapper You need to wrap your image components used by ImageWrapper in this package. no ImageWrapper Props ImageViewer name required type default description Example ----------------------- ---------- ---------------------------------------------------------------------------------------------------------------- ----------- ------------------------------------------------------------------------------------- ------------------------------------------------------------------------- data true undefined The original source & key of image renderCustomComponent false undefined The custom Element in ImageViewer onLongPress false undefined Once you pressed image viewer for a long time, the function will active imageResizeMode false undefined The resizeMode props of image in viewer onChange false undefined When the viewer finished swiping, the function will be called onVisibleChange false undefined When the viewer visible change, the function will be called dragUpToCloseEnabled false undefined Enable dragging up to close the viewer maxScale false 3 Image maximum magnification doubleTapScale false 2 The magnification when double-clicking the image shouldCloseViewer false undefined Control whether the viewer can be ","default_branch":null,"files":null,"tree":[],"storefront":"/r/booyeu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/booyeu/react-native-reanimated-viewer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}