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 install --save simple-instagram-grid
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
)
}
MIT © pm95