From a10c1b5a309586ac6b8977ccfd71ac41fd51c513 Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Tue, 5 Apr 2016 08:47:21 -0700 Subject: [PATCH] Fix UIExplorer Image example on iOS Reviewed By: javache Differential Revision: D3138820 fb-gh-sync-id: 83bf3f6c60b80e9303b3c3a47dd5d05069623204 fbshipit-source-id: 83bf3f6c60b80e9303b3c3a47dd5d05069623204 --- Examples/UIExplorer/ImageExample.js | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/Examples/UIExplorer/ImageExample.js b/Examples/UIExplorer/ImageExample.js index e0542cc2a76f0c..4fb0722d854b98 100644 --- a/Examples/UIExplorer/ImageExample.js +++ b/Examples/UIExplorer/ImageExample.js @@ -25,6 +25,7 @@ var React = require('react-native'); var { Image, + Platform, StyleSheet, Text, View, @@ -425,16 +426,18 @@ exports.examples = [ source={image} /> - - - Center - - - + { Platform.OS === 'android' ? + + + Center + + + + : null } );