react-gallery-box

0.1.6 • Public • Published

react-gallery-box

npm Travis npm PRs Welcome

react photo gallery box component

Hover over mouse to see your photo gallery

rgb

Demo

Edit Demo : react-gallery-box

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. Default 0
  • delay: number, millisecond of time interval between image switch. Defalt 1500
  • containerClassnName: string, custom css class for div container
  • itemClassnName: string, custom css class for individual image div

License

MIT © Leo

Readme

Keywords

Package Sidebar

Install

npm i react-gallery-box

Weekly Downloads

2

Version

0.1.6

License

MIT

Last publish

Collaborators

  • leoaj