mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 22:23:37 +00:00
Use uri instead of url in source property of Image
Summary: https://github.com/facebook/react-native/issues/13478#issuecomment-294002694 Fix incorrect usage of `url` in the `source` property of `<Image />` in the example. Closes https://github.com/facebook/react-native/pull/13496 Differential Revision: D4893299 Pulled By: hramos fbshipit-source-id: 134f9100d16997627b14c145256818e05017bbe3
This commit is contained in:
parent
3e866e0380
commit
9b882a3b44
@ -656,7 +656,7 @@ exports.examples = [
|
|||||||
<View style={{flexDirection: 'row'}}>
|
<View style={{flexDirection: 'row'}}>
|
||||||
<Image
|
<Image
|
||||||
source={{
|
source={{
|
||||||
url: 'ImageInBundle',
|
uri: 'ImageInBundle',
|
||||||
bundle: 'UIExplorerBundle',
|
bundle: 'UIExplorerBundle',
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 100,
|
height: 100,
|
||||||
@ -665,7 +665,7 @@ exports.examples = [
|
|||||||
/>
|
/>
|
||||||
<Image
|
<Image
|
||||||
source={{
|
source={{
|
||||||
url: 'ImageInAssetCatalog',
|
uri: 'ImageInAssetCatalog',
|
||||||
bundle: 'UIExplorerBundle',
|
bundle: 'UIExplorerBundle',
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 100,
|
height: 100,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user