awesome-magnifier
v1.0.5
Published
awesome-magnifier is a simple and lightwaight component to create a zoom your images,
Downloads
5
Readme
awesome-magnifier
awesome-magnifier is a simple and lightwaight component to create a zoom your images,
- simple
- Lightwaight
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