1.1.0 • Published 4 years ago

simple-instagram-grid v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

simple-instagram-grid

Lightweight component to render simple and elegant Instagram-like photo grids. Highly customizable. Supports click to expand photo and bi-directional scrolling

Pass in an array of images or image URLs to the InstagramGrid component and it will automatically render a grid from the array

NPM JavaScript Style Guide

Install

npm install --save simple-instagram-grid

Usage

import React, { Component } from 'react'

import InstagramGrid from 'simple-instagram-grid'

const ExampleComponent = (props) =>{
    return (
        // ... content before Instagram Grid
      <InstagramGrid imagesArray={[imgObj0, imgObj1, imgObj2, imgObj3, etc.]}/>
        // ... content after Instagram Grid
    )
}

License

MIT © pm95