1.0.6 • Published 3 years ago

react-grid-litebox v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago