Skip to content

asopromadze/react-litebox

Repository files navigation

react-grid-litebox

grid gallery with litebox

NPM JavaScript Style Guide

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published