You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@types/react-medium-image-zoom

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-medium-image-zoom

TypeScript definitions for react-medium-image-zoom

3.0.3
ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Maintainers
1
Created
Source

Installation

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

Summary

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

Details

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

index.d.ts

import * as React from "react";

export interface ImageZoom_Image {
    src: string;
    alt?: string | undefined;
    className?: string | undefined;
    style?: object | undefined;
}

export interface ImageZoom_ZoomImage {
    src?: string | undefined;
    alt?: string | undefined;
    className?: string | undefined;
    style?: object | undefined;
}

export interface ImageZoomDefaultStyles {
    zoomContainer?: object | undefined;
    overlay?: object | undefined;
    image?: object | undefined;
    zoomImage?: object | undefined;
}

export interface ImageZoomProps {
    image: ImageZoom_Image;
    zoomImage?: ImageZoom_ZoomImage | undefined;
    zoomMargin?: number | undefined;
    isZoomed?: boolean | undefined;
    shouldHandleZoom?: (() => boolean) | undefined;
    shouldReplaceImage?: boolean | undefined;
    shouldRespectMaxDimension?: boolean | undefined;
    defaultStyles?: ImageZoomDefaultStyles | undefined;
    onZoom?: (() => object) | undefined;
    onUnzoom?: (() => object) | undefined;
}

export default class ImageZoom extends React.Component<ImageZoomProps, any> {}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by James Bellamy.

FAQs

Package last updated on 07 Nov 2023

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