{"repo":"jobtoday/react-native-image-viewing","free":true,"listed":false,"github":"https://github.com/jobtoday/react-native-image-viewing","clone":"git clone https://github.com/jobtoday/react-native-image-viewing.git","description":"Tiny, purely TS, modal component for viewing images 🏙","language":"TypeScript","stars":952,"topics":["react","react-native","image-viewer","image-gallery","pinch-to-zoom"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-image-viewing React Native modal component for viewing images as a sliding gallery. - 🔥Pinch zoom for both iOS and Android - 🔥Double tap to zoom for both iOS and Android - 🔥Supports swipe-to-close animation - 🔥Custom header and footer components - 🔥Uses VirtualizedList to optimize image loading and rendering Try with Expo: https://expo.io/@antonkalinin/react-native-image-viewing Installation or Usage See Example Props Prop name Description Type Required ------------------------ --------------------------------------------------------------------------------------------------- ----------------------------------------------------------- -------- images Array of images to display ImageSource[] true keyExtractor Uniqely identifying each image (imageSrc: ImageSource, index: number) = string false imageIndex Current index of image to display number true visible Is modal shown or not boolean true onRequestClose Function called to close the modal function true onImageIndexChange Function called when image index has been changed function false onLongPress Function called when image long pressed function (event: GestureResponderEvent, image: ImageSource) false delayLongPress Delay in ms, before onLongPress is called: default 800 number false animationType Animation modal presented with: default fade none , fade , slide false presentationStyle Modal presentation style: default: fullScreen Android: Use overFullScreen to hide StatusBar fullScreen , pageSheet , formSheet ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jobtoday","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jobtoday/react-native-image-viewing/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."}