react-grid-litebox
v1.0.6
Published
grid gallery with litebox
Downloads
11
Readme
react-grid-litebox
grid gallery with litebox
Install
npm install --save react-grid-litebox
Usage
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}/>
}
License
MIT © Anri