react-native-photo-grid-frame

2.0.1 • Public • Published

react-native-photo-grid-frame

React Native component that builds a grid of photos with a Dynamic Photo Size and Popup the Photo on click.

Install

npm install react-native-photo-grid-frame --save

Screenshots

alt text alt text alt text alt text

Usage

/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */
import React, { Component } from 'react';
import {
  AppRegistry,
  ScrollView
} from 'react-native';
import { PhotoGrid } from './PhotoGrid';
import Photos from './Photos';


export default class photoGrid extends Component {
  render() {
    return (
      <ScrollView>
        <PhotoGrid PhotosList={Photos} borderRadius={10}/>
      </ScrollView>
    );
  }
}

AppRegistry.registerComponent('photoGrid', () => photoGrid);

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i react-native-photo-grid-frame

    Weekly Downloads

    3

    Version

    2.0.1

    License

    MIT

    Last publish

    Collaborators

    • sivarajng