From 494518a6d8f8e654196e72dfc3a0753b36a6719b Mon Sep 17 00:00:00 2001 From: Maxime Bertonnier Date: Thu, 26 Oct 2017 15:52:14 +0200 Subject: [PATCH 1/2] feat(TransformableImage): add imageLoaded to imageComponent 1st arg --- src/libraries/TransformableImage/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/TransformableImage/index.js b/src/libraries/TransformableImage/index.js index 288f90c..8ff8469 100644 --- a/src/libraries/TransformableImage/index.js +++ b/src/libraries/TransformableImage/index.js @@ -163,6 +163,7 @@ export default class TransformableImage extends PureComponent { const imageProps = { ...this.props, + imageLoaded, source: image.source, style: [style, { backgroundColor: 'transparent' }], resizeMode: resizeMode, From 2eddcadf813f245c6eb8773bc5ba8baf32ecac39 Mon Sep 17 00:00:00 2001 From: Maxime Bertonnier Date: Thu, 26 Oct 2017 16:13:06 +0200 Subject: [PATCH 2/2] chore(package): bump to 2.1.3 --- Demo/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/package.json b/Demo/package.json index aa00842..d98a358 100644 --- a/Demo/package.json +++ b/Demo/package.json @@ -9,7 +9,7 @@ "dependencies": { "react": "16.0.0-alpha.12", "react-native": "0.48.2", - "react-native-image-gallery": "2.1.1" + "react-native-image-gallery": "2.1.3" }, "devDependencies": { "babel-jest": "21.0.2", diff --git a/package.json b/package.json index 524a693..fbac0aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-image-gallery", - "version": "2.1.2", + "version": "2.1.3", "description": "Pure JavaScript image gallery component for iOS and Android", "main": "src/Gallery.js", "scripts": {