meliorence / react-native-image-gallery

Pure JavaScript image gallery component for iOS and Android with high-performance and native feeling in mind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More information about the ImageComponent prop

MarkDaleman opened this issue · comments

commented

How exactly do I use this prop? I want to use as an example my own cachedimage component, but I've got no idea how to implement this with the gallery.

Try
imageComponent={(image, imageDimensions) => { return (<YourImageComponent source={{uri: image.image.uri}}/>) }}