react-img-zoom-gdn

0.1.7 • Public • Published

react-img-zoom-gdn

This package heavily utilizes from the react-img-zoom by LeoNero.

npm version GitHub Stars GitHub Issues MIT Licence

Installation

npm install react-img-zoom-gdn

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-gdn";

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

You can refer to the docs which was created by "LeoNero" for more information and a live demo!

To do

Package Sidebar

Install

npm i react-img-zoom-gdn

Weekly Downloads

3

Version

0.1.7

License

MIT

Unpacked Size

19.4 kB

Total Files

15

Last publish

Collaborators

  • i_am_rakib