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

@types/react-inner-image-zoom

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-inner-image-zoom - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

40

react-inner-image-zoom/index.d.ts

@@ -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

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