react-image-zoomer-ch
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-image-zoomer-ch

This React package helps you zoom in a part of an image whenever user mouse over it. It is useful for your e-commerce project.

NPM JavaScript Style Guide

Demo

https://build-cuonghv911.vercel.app

alt text

Install

npm install --save react-image-zoomer-ch

Usage

import React, { Component } from 'react'

import { ReactImageZoomer } from 'react-image-zoomer-ch'

class Example extends Component {
  render() {
    return (
      <div style={{ width: 500 }}>
        <ReactImageZoomer
          imgUrl='https://i.ibb.co/h1C0vFX/ngoc-trinh.jpg'
          alt='demo'
          zoomSize='300px'
          pointerSize='50px'
        />
      </div>
    )
  }
}

License

MIT © cuonghv91

Readme

Keywords

none

Package Sidebar

Install

npm i react-image-zoomer-ch

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

33.1 kB

Total Files

10

Last publish

Collaborators

  • cuonghv91