README
React-Loupe :mag:
React component to turn ordinary images into images with magnifyer glass overlay.
Install
npm install @walkerandolphsmith/react-loupe
Usage
- Default
<Loupe image={'url'}></Loupe>
- Override image styles
<Loupe image={'url'} styles={{ border: '1px solid green' }}></Loupe>
- Override loupe styles
<Loupe image={'url'} loupeStyles={{ border: '1px solid green', borderRadius: '50%' }}></Loupe>
Development
Build
npm run build
Open storybook
npm start