react-spring-lightbox
Advanced tools
Comparing version 1.7.2-beta.2 to 1.8.0
@@ -30,5 +30,9 @@ import React from 'react'; | ||
/** A React component that is used for next button in image pager */ | ||
renderNextButton?: () => React.ReactNode; | ||
renderNextButton?: ({ canNext }: { | ||
canNext: boolean; | ||
}) => React.ReactNode; | ||
/** A React component that is used for previous button in image pager */ | ||
renderPrevButton?: () => React.ReactNode; | ||
renderPrevButton?: ({ canPrev }: { | ||
canPrev: boolean; | ||
}) => React.ReactNode; | ||
/** Overrides the default behavior of double clicking causing an image zoom to a single click */ | ||
@@ -35,0 +39,0 @@ singleClickToZoom?: boolean; |
{ | ||
"name": "react-spring-lightbox", | ||
"version": "1.7.2-beta.2", | ||
"version": "1.8.0", | ||
"description": "A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.", | ||
@@ -5,0 +5,0 @@ "author": "Tim Ellenberger <timellenberger@gmail.com>", |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
95901
382
1