UNPKG

react-zoom-image-hover

Version:
31 lines (21 loc) 631 B
# REACT-IMAGE-ZOOM-HOVER ## Description This package is for zooming image content on hovering ## Preview ![Preview](/demo.gif) ## 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