0.1.6 • Published 6 years ago
react-gallery-box v0.1.6
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