From d18b296771b38f620aa975b857b512102669b29e Mon Sep 17 00:00:00 2001 From: GiacomoGranzotto Date: Sun, 19 Jan 2020 15:45:19 +0100 Subject: [PATCH] Updating usage of the onPressImage callback The onPressImage callback receives first the event itself and secondly the item reference. --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 747f2fb..0e57aa4 100644 --- a/readme.md +++ b/readme.md @@ -14,7 +14,7 @@ const images = [ 'https://cdn.pixabay.com/photo/2016/08/12/22/34/apple-1589869_960_720.jpg' ] ... - this.showImage(uri)} /> + this.showImage(uri)} /> ``` @@ -44,7 +44,7 @@ const images = [ } ] ... - this.showImage(source.uri)} /> + this.showImage(source.uri)} /> ``` # Props @@ -69,4 +69,4 @@ isShowActivity | Show ActivityIndicator loading placeholderStyle | Style placeholder image ## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fduyluonglc%2Freact-native-thumbnail-grid.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fduyluonglc%2Freact-native-thumbnail-grid?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fduyluonglc%2Freact-native-thumbnail-grid.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fduyluonglc%2Freact-native-thumbnail-grid?ref=badge_large)