@hawk-ui/magnifier

4.3.2 • Public • Published

Installation

To install a component run

$ npm install @hawk-ui/magnifier --save

Please import CSS styles via

@import '/path__to__node_modules/@hawk-ui/magnifier/dist/index.min.css

Usage

Magnifier

Demo

import Magnifier from '@hawk-ui/magnifier';
<Magnifier>
  <div style={{ height: '200px', width: '200px' }}>
    <img
      src="https://www.w3schools.com/howto/img_girl.jpg"
      style={{
        height: '100%',
        width: '100%',
        objectFit: 'cover',
      }}
      id="imageMagnify"
    />
  </div>
</Magnifier>

Package Sidebar

Install

npm i @hawk-ui/magnifier

Weekly Downloads

0

Version

4.3.2

License

MIT

Unpacked Size

26.4 kB

Total Files

9

Last publish

Collaborators

  • saurabh2112