Skip to content

LeoAJ/react-gallery-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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