Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 573 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 573 Bytes

React Magnifier

⭐️ About

React Magnifier is an simple library to make zoom in images using html canvas and typescript

🚀 Getting Started

Install using an package manager

yarn add @alpakaslab/react-magnifier
# or
npm install @alpakaslab/react-magnifier

🧩 Using Component

import { ReactMagnifier } from '@alpakaslab/react-magnifier'

const Page = () => {
    return <ReactMagnifier 
                image="image url"
                height={560}
                width={534}
           />
}

export default Page;