0.1.8 • Published 3 years ago

react-img-hover-zoom v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

NPM version GitHub Stars GitHub Issues MIT Licence CircleCI

A react component to zoom images on hover
A gif that shows an image beeing zoomed with a mouse

Installation

npm install react-img-hover-zoom

Basic usage

The component has only four required props: the link to the image, the zoom scale, the width and height (in pixels).

import Zoom from 'react-img-zoom'

<Zoom
  img="link-to-img"
  zoomScale={3}
  width={600}
  height={600}
  style={}
  className=""
/>

You can refer to the docs for more information and a live demo!

To do

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago