Skip to content

mansivats28/react-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Images

A simple, responsive lightbox component for displaying an array of images

Options

Property			|	Type		|	Description

:-----------------------|:--------------|:-------------------------------- backdropClosesModal | bool | Allow users to exit the lightbox by clicking the backdrop enableKeyboardInput | bool | Supports keyboard input - esc, arrow left, and arrow right initialImage | number | The index of the first image to display height | number | Maximum height of the carousel; defaults to 600px images | array | An array of image urls isOpen | bool | Whether or not the lightbox is displayed onCancel | func | Handle closing of the lightbox showCloseButton | bool | Optionally display a close button under the carousel width | number | Maximum width of the carousel; defaults to 900px

About

A simple lightbox component for displaying an array of images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%