1.0.6 • Published 4 years ago

react-grid-litebox v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago