Skip to content

Commit 6b2a49e

Browse files
sunnylqmFacebook Github Bot 8
authored andcommitted
Specify width and height for Image(remote source)
Summary: Closes #8486 Differential Revision: D3496850 Pulled By: javache fbshipit-source-id: f2456b914c420089558484fb87e3d92ed2c923af
1 parent f0f2645 commit 6b2a49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Bananas extends Component {
2222
uri: 'https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg'
2323
};
2424
return (
25-
<Image source={pic} />
25+
<Image source={pic} style={{width: 193, height: 110}}/>
2626
);
2727
}
2828
}

0 commit comments

Comments
 (0)