react-image-lightbox
Advanced tools
Comparing version 3.4.1 to 3.4.2
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
355386
1616