Skip to content

Zoom Image React

The @zoom-image/react adapter is a wrapper around the core zoom image logic.

useZoomImageWheel - 2.46 KB

ts
function useZoomImageWheel(): {
  createZoomImage
  zoomImageState
  getZoomImageState
  setZoomImageState
}

useZoomImageHover - 1.56 KB

ts
function useZoomImageHover(): {
  createZoomImage
  zoomImageState
  setZoomImageState
}

useZoomImageMove - 1.28 KB

ts
function useZoomImageMove(): {
  createZoomImage
  zoomImageState
}

useZoomImageClick - 1.18 KB

ts
function useZoomImageClick(): {
  createZoomImage
  zoomImageState
}