Skip to content

AlpakasLab/react-magnifier

Repository files navigation

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;