Fix UIExplorer Image example on iOS
Reviewed By: javache Differential Revision: D3138820 fb-gh-sync-id: 83bf3f6c60b80e9303b3c3a47dd5d05069623204 fbshipit-source-id: 83bf3f6c60b80e9303b3c3a47dd5d05069623204
This commit is contained in:
parent
40f13742b3
commit
a10c1b5a30
|
@ -25,6 +25,7 @@
|
|||
var React = require('react-native');
|
||||
var {
|
||||
Image,
|
||||
Platform,
|
||||
StyleSheet,
|
||||
Text,
|
||||
View,
|
||||
|
@ -425,6 +426,7 @@ exports.examples = [
|
|||
source={image}
|
||||
/>
|
||||
</View>
|
||||
{ Platform.OS === 'android' ?
|
||||
<View style={styles.leftMargin}>
|
||||
<Text style={[styles.resizeModeText]}>
|
||||
Center
|
||||
|
@ -435,6 +437,7 @@ exports.examples = [
|
|||
source={image}
|
||||
/>
|
||||
</View>
|
||||
: null }
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue