Skip to main content
Version: v5

ImageGallery

Component to render the image viewer. This component handler all the gestures for zooming and swiping on images within gallery.

Its not possible to replace this component, given the complexity of it. But you can use imageGalleryCustomComponents prop on OverlayProvider to replace sub-parts of image gallery.

Props

forwarded from OverlayProvider props
imageGalleryCustomComponents

Image gallery components. Each key in the object is spread as props onto its respective component. Each component has a number of sub-components it can receive in this manor.

Type
object

Did you find this page helpful?