This is documentation for
Stream Chat React Native SDK v3, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v6).
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
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.
footer
->ImageGalleryFootergrid
->ImageGridgridHandle
->ImageGridHandleheader
->ImageGalleryHeader
Type |
---|
object |
On this page: