Twitter-like Image Viewer For React Native

A Twitter-like image viewer component for React Native. Supports both iOS and Android.

Installation:

# Yarn
$ yarn add react-native-zoom-image

# NPM
$ npm install react-native-zoom-image --save

Usage:

import React, {Component} from 'react';
import {
  StyleSheet,
  AppRegistry,
  View,
  Text,
  Easing,
  ScrollView,
  TouchableHighlight
} from 'react-native';
import ZoomImage from 'react-native-zoom-image';

<ZoomImage
  source={{uri: '1.jpg'}}
  imgStyle={{width: 250, height: 230}}
  style={styles.img}
  duration={200}
  enableScaling={false}
  easingFunc={Easing.ease}
/>

Default props.

disabled: false,
startCapture: false,
moveCapture: false,
rebounceDuration: 800,
closeDuration: 140,
showDuration: 100,
easingFunc: Easing.ease,
enableScaling: false

Preview:

react-native-zoom-image

Download Details:

Author: Tinysymphony

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/Tinysymphony/react-native-zoom-image

License: MIT

You Might Be Interested In:

Add Comment