Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-image-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-image-lightbox - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

2

package.json
{
"name": "react-image-lightbox",
"version": "3.4.1",
"version": "3.4.2",
"description": "A lightbox component for React.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -90,5 +90,5 @@ # React Image Lightbox

nextSrc | string | | | Next display image url (displayed to the right). If left undefined, `onMoveNextRequest` will not be called, and the button not displayed
mainSrcThumbnail | string | | | Thumbnail image url corresponding to `props.mainSrc`
prevSrcThumbnail | string | | | Thumbnail image url corresponding to `props.prevSrc`
nextSrcThumbnail | string | | | Thumbnail image url corresponding to `props.nextSrc`
mainSrcThumbnail | string | | | Thumbnail image url corresponding to `props.mainSrc`. Displayed as a placeholder while the full-sized image loads.
prevSrcThumbnail | string | | | Thumbnail image url corresponding to `props.prevSrc`. Displayed as a placeholder while the full-sized image loads.
nextSrcThumbnail | string | | | Thumbnail image url corresponding to `props.nextSrc`. Displayed as a placeholder while the full-sized image loads.
onCloseRequest | func | | yes | Close window event. Should change the parent state such that the lightbox is not rendered

@@ -95,0 +95,0 @@ onMovePrevRequest | func | empty function | | Move to previous image event. Should change the parent state such that `props.prevSrc` becomes `props.mainSrc`, `props.mainSrc` becomes `props.nextSrc`, etc.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc