viskan-deku-zoom
Zoom on hover component for Deku
Install
$ npm install --save viskan-deku-zoom
Usage
; { return <Zoom src='https://placekitten.com/400/800' zoom='https://placekitten.com/800/1600'/> ;}
;
Attributes
alt
Type: string
Add alt
attribute to the image
itemprop
Type: string
Add itemprop
attribute to the image
src
Type: string
The image to show unzoomed.
zoom
Type: string
The image to used as zoom.