react-zoom-image-hover
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

REACT-IMAGE-ZOOM-HOVER

Description

This package is for zooming image content on hovering

Preview

Preview

Code example

<Zoom
    height={500}
    width={830}
    zoomScale={3}
    src='image'
/>

Props

  • width (number | string) - width of the source image (required).
  • height (number | string) - height of the source image (required).
  • src (string) - url of the source image (required).
  • className (string) - class name for wrapper (optional).
  • transitionTime (number) - Time to scale
  • style (CSSProperties) - styles for wrapper

Package Sidebar

Install

npm i react-zoom-image-hover

Weekly Downloads

18

Version

1.0.0

License

MIT

Unpacked Size

11 kB

Total Files

14

Last publish

Collaborators

  • maksimzhukau