Skip to content

chrischalstrom/image-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image gallery

yarn build create assets for deployment yarn start start up dev server yarn test run tests

ImageGallery Props

  currentImg: ({ src: string, caption: string }),
  images: [({ src: string, caption: string })],

  onPrev: () => void - function that should be invoked when going to the previous image,
  onNext: () => void - function that should be invoked when going to the next image,

  preload?: bool - optional prop. if true, all images passed in the images array will be preloaded.

About

react image gallery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published