@types/react-inner-image-zoom
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for react-inner-image-zoom 2.0 | ||
// Type definitions for react-inner-image-zoom 3.0 | ||
// Project: https://github.com/laurenashpole/react-inner-image-zoom#readme | ||
@@ -12,4 +12,2 @@ // Definitions by: Lauren Ashpole <https://github.com/laurenashpole> | ||
src: string; | ||
srcSet?: string | undefined; | ||
sizes?: string | undefined; | ||
sources?: Array<{ srcSet?: string | undefined, media?: string | undefined }> | undefined; | ||
@@ -19,6 +17,6 @@ width?: number | undefined; | ||
hasSpacer?: boolean | undefined; | ||
imgAttributes?: React.ImgHTMLAttributes<HTMLImageElement> | undefined; | ||
zoomSrc?: string | undefined; | ||
zoomScale?: number | undefined; | ||
zoomPreload?: boolean | undefined; | ||
alt?: string | undefined; | ||
fadeDuration?: number | undefined; | ||
@@ -25,0 +23,0 @@ fullscreenOnMobile?: boolean | undefined; |
{ | ||
"name": "@types/react-inner-image-zoom", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "TypeScript definitions for react-inner-image-zoom", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-inner-image-zoom", | ||
}, | ||
"typesPublisherContentHash": "b24d5fadaaa849b1d894831c816813b181daa87f7ce28501cf3a14de99eebeda", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "9fe591503cc120de426e820d9c55a8921fa7fc8363de4aa0bdb94f6e6e485978", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
````ts | ||
// Type definitions for react-inner-image-zoom 2.0 | ||
// Type definitions for react-inner-image-zoom 3.0 | ||
// Project: https://github.com/laurenashpole/react-inner-image-zoom#readme | ||
@@ -23,4 +23,2 @@ // Definitions by: Lauren Ashpole <https://github.com/laurenashpole> | ||
src: string; | ||
srcSet?: string | undefined; | ||
sizes?: string | undefined; | ||
sources?: Array<{ srcSet?: string | undefined, media?: string | undefined }> | undefined; | ||
@@ -30,6 +28,6 @@ width?: number | undefined; | ||
hasSpacer?: boolean | undefined; | ||
imgAttributes?: React.ImgHTMLAttributes<HTMLImageElement> | undefined; | ||
zoomSrc?: string | undefined; | ||
zoomScale?: number | undefined; | ||
zoomPreload?: boolean | undefined; | ||
alt?: string | undefined; | ||
fadeDuration?: number | undefined; | ||
@@ -51,3 +49,3 @@ fullscreenOnMobile?: boolean | undefined; | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:20:50 GMT | ||
* Last updated: Tue, 01 Mar 2022 23:31:49 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -54,0 +52,0 @@ * Global values: none |
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
5314
28
52