@types/react-inner-image-zoom
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,23 +9,23 @@ // Type definitions for react-inner-image-zoom 2.0 | ||
export interface InnerImageZoomProps { | ||
moveType?: 'pan' | 'drag'; | ||
zoomType?: 'click' | 'hover'; | ||
moveType?: 'pan' | 'drag' | undefined; | ||
zoomType?: 'click' | 'hover' | undefined; | ||
src: string; | ||
srcSet?: string; | ||
sizes?: string; | ||
sources?: Array<{ srcSet?: string, media?: string }>; | ||
width?: number; | ||
height?: number; | ||
hasSpacer?: boolean; | ||
zoomSrc?: string; | ||
zoomScale?: number; | ||
zoomPreload?: boolean; | ||
alt?: string; | ||
fadeDuration?: number; | ||
fullscreenOnMobile?: boolean; | ||
mobileBreakpoint?: number; | ||
hideCloseButton?: boolean; | ||
hideHint?: boolean; | ||
className?: string; | ||
afterZoomIn?: () => void; | ||
afterZoomOut?: () => void; | ||
srcSet?: string | undefined; | ||
sizes?: string | undefined; | ||
sources?: Array<{ srcSet?: string | undefined, media?: string | undefined }> | undefined; | ||
width?: number | undefined; | ||
height?: number | undefined; | ||
hasSpacer?: boolean | undefined; | ||
zoomSrc?: string | undefined; | ||
zoomScale?: number | undefined; | ||
zoomPreload?: boolean | undefined; | ||
alt?: string | undefined; | ||
fadeDuration?: number | undefined; | ||
fullscreenOnMobile?: boolean | undefined; | ||
mobileBreakpoint?: number | undefined; | ||
hideCloseButton?: boolean | undefined; | ||
hideHint?: boolean | undefined; | ||
className?: string | undefined; | ||
afterZoomIn?: (() => void) | undefined; | ||
afterZoomOut?: (() => void) | undefined; | ||
} | ||
@@ -32,0 +32,0 @@ |
{ | ||
"name": "@types/react-inner-image-zoom", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"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": "14b7b197484634d2f4f8fb069a7ec2f3d5c34a7c7528d07bae7f1d7fefee39eb", | ||
"typesPublisherContentHash": "b24d5fadaaa849b1d894831c816813b181daa87f7ce28501cf3a14de99eebeda", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -19,23 +19,23 @@ # Installation | ||
export interface InnerImageZoomProps { | ||
moveType?: 'pan' | 'drag'; | ||
zoomType?: 'click' | 'hover'; | ||
moveType?: 'pan' | 'drag' | undefined; | ||
zoomType?: 'click' | 'hover' | undefined; | ||
src: string; | ||
srcSet?: string; | ||
sizes?: string; | ||
sources?: Array<{ srcSet?: string, media?: string }>; | ||
width?: number; | ||
height?: number; | ||
hasSpacer?: boolean; | ||
zoomSrc?: string; | ||
zoomScale?: number; | ||
zoomPreload?: boolean; | ||
alt?: string; | ||
fadeDuration?: number; | ||
fullscreenOnMobile?: boolean; | ||
mobileBreakpoint?: number; | ||
hideCloseButton?: boolean; | ||
hideHint?: boolean; | ||
className?: string; | ||
afterZoomIn?: () => void; | ||
afterZoomOut?: () => void; | ||
srcSet?: string | undefined; | ||
sizes?: string | undefined; | ||
sources?: Array<{ srcSet?: string | undefined, media?: string | undefined }> | undefined; | ||
width?: number | undefined; | ||
height?: number | undefined; | ||
hasSpacer?: boolean | undefined; | ||
zoomSrc?: string | undefined; | ||
zoomScale?: number | undefined; | ||
zoomPreload?: boolean | undefined; | ||
alt?: string | undefined; | ||
fadeDuration?: number | undefined; | ||
fullscreenOnMobile?: boolean | undefined; | ||
mobileBreakpoint?: number | undefined; | ||
hideCloseButton?: boolean | undefined; | ||
hideHint?: boolean | undefined; | ||
className?: string | undefined; | ||
afterZoomIn?: (() => void) | undefined; | ||
afterZoomOut?: (() => void) | undefined; | ||
} | ||
@@ -49,3 +49,3 @@ | ||
### Additional Details | ||
* Last updated: Fri, 11 Jun 2021 17:31:19 GMT | ||
* Last updated: Thu, 08 Jul 2021 20:20:50 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -52,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
5354