UNPKG

generic-zoom-react

Version:

React wrapper of generic-zoom. Medium zoom like functionality, but only transforming the container element. Suited for children that adjust automatically depending on the parent element such as gatsby-image.

11 lines (10 loc) 270 B
import React from 'react'; interface IGenericZoomContent { children: any; zoomMargin?: { horizontal: string; vertical: string; }; } declare const GenericZoomContent: React.FC<IGenericZoomContent>; export default GenericZoomContent;