Closed kuriel-trivu closed 5 years ago
images = images.map((image) => {
return {
url: 'https://avatars2.githubusercontent.com/u/7970947?v=3&s=460',
width: image.meta.ImageWidth,
height: image.meta.ImageHeight,
props: {
source: {
uri: image.path
}
}
};
});
return (
<ImageViewer
imageUrls={images}
enableSwipeDown
onSwipeDown={() => {
this.props.navigation.pop()
}}
/>
);
this work for react-native 57 @kuriel-trivu
following the basic sample, does nothing. nothing rendered, nothing visible.