react-gallery-box
v0.1.6
Published
[![npm](https://img.shields.io/npm/v/react-gallery-box.svg?style=flat-square)](https://www.npmjs.com/package/react-gallery-box) [![Travis](https://img.shields.io/travis/LeoAJ/react-gallery-box.svg?style=flat-square)](https://travis-ci.org/LeoAJ/react-gall
Downloads
9
Readme
react-gallery-box
react photo gallery box component
Hover over mouse to see your photo gallery
Demo
Install
yarn add react-gallery-box -S
Usage
import ReactGalleryBox from 'react-gallery-box';
<ReactGalleryBox images{/* List of image urls */} />
Props
images
: array, list of image urls. Default[]
visibleImageIndex
: number, starting index of image array. Default0
delay
: number, millisecond of time interval between image switch. Defalt1500
containerClassnName
: string, custom css class for div containeritemClassnName
: string, custom css class for individual image div
License
MIT © Leo