grid gallery with litebox
npm install --save react-grid-litebox
import React from 'react'
import { Gallery } from 'react-grid-litebox'
import 'react-grid-litebox/dist/index.css'
const images = [{ src: '', alt: '' }] // required
const thumbnailSize = {{width: Number, height:Number}} // optional
function YourComponent() {
return <Gallery images={images} thumbnailSize={thumbnailSize}/>
}
MIT © Anri