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:
Joel Marcey
2016-06-30 15:37:26 -07:00
committed by GitHub

View File

@@ -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}}/>
);
}
}