simple-instagram-grid
v1.1.0
Published
Lightweight component to render simple and elegant Instagram-like photo grids. Highly customizable. Supports click to expand photo and bi-directional scrolling
Downloads
3
Readme
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
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