Package Exports
- react-zoom-image-hover
- react-zoom-image-hover/dist/cjs/index.js
- react-zoom-image-hover/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-zoom-image-hover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
REACT-IMAGE-ZOOM-HOVER
Description
This package is for zooming image content on hovering
Preview
Code example
<Zoom
height={500}
width={830}
zoomScale={3}
src='image'
/>
Props
- width (number | string) - width of the source image (required).
- height (number | string) - height of the source image (required).
- src (string) - url of the source image (required).
- className (string) - class name for wrapper (optional).
- transitionTime (number) - Time to scale
- style (CSSProperties) - styles for wrapper