mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-15 12:27:36 +08:00
Merge pull request #8514 from JoelMarcey/image-pr-to-0.29
Cherry-pick in 0.29: Specify width and height for Image(remote source)
This commit is contained in:
@@ -22,7 +22,7 @@ class Bananas extends Component {
|
||||
uri: 'https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg'
|
||||
};
|
||||
return (
|
||||
<Image source={pic} />
|
||||
<Image source={pic} style={{width: 193, height: 110}}/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user