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
; <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