simple-instagram-grid

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i simple-instagram-grid

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

41.6 kB

Total Files

6

Last publish

Collaborators

  • pm95