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

TypeScript definitions for react-inner-image-zoom

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16K
decreased by-2.72%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/react-inner-image-zoom

Summary

This package contains type definitions for react-inner-image-zoom (https://github.com/laurenashpole/react-inner-image-zoom#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-inner-image-zoom/v2.

index.d.ts

// Type definitions for react-inner-image-zoom 2.0
// Project: https://github.com/laurenashpole/react-inner-image-zoom#readme
// Definitions by: Lauren Ashpole <https://github.com/laurenashpole>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

export interface InnerImageZoomProps {
    moveType?: 'pan' | 'drag' | undefined;
    zoomType?: 'click' | 'hover' | undefined;
    src: string;
    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;
}

export class InnerImageZoom extends React.Component<InnerImageZoomProps> {}
export default InnerImageZoom;

Additional Details

  • Last updated: Tue, 01 Mar 2022 23:31:49 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Lauren Ashpole.

FAQs

Package last updated on 01 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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