awesome-magnifier

1.0.5 • Public • Published

awesome-magnifier

awesome-magnifier is a simple and lightwaight component to create a zoom your images,

  • simple
  • Lightwaight

Open in Github

Installation

Install the dependencies and devDependencies and start the server.

import logo from './foo.jpg';
import './App.css';
import  AwesomeMagnifier  from 'awesome-magnifier';

function App() {
  return (
    <Mangnifier src={logo}  className={'img'} /> 
  );
}

export default App;

props

  • src
  • className pass any class you want

Readme

Keywords

Package Sidebar

Install

npm i awesome-magnifier

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

3.82 kB

Total Files

4

Last publish

Collaborators

  • syedfaisalrizvi0