@nlabs/react-native-image-gallery

A React Native image gallery browser with interactive animations

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
213Oct 11, 2018Dec 9, 2017Minified + gzip package size for @nlabs/react-native-image-gallery in KB

Readme

@nlabs/react-native-image-gallery

A React Native component to display a gallery of images.

npm version Travis npm downloads TypeScript Issues Gitter MIT license

Preview

iOS Android

Installation

Using npm:

$ npm install --save @nlabs/react-native-image-gallery

or

$ yarn add @nlabs/react-native-image-gallery

Usage

import {ImageGallery} from '@nlabs/react-native-image-gallery';

class Images extends React.PureComponent {
  render() {
    const {images} = this.props;
    const imageUrls = images.map((img) => ({
        url: img.uri,
        id: img.id,
        title: img.title,
        description: img.description
      })
    );
    return <ImageGallery images={imageUrls} />;
  }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.