mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-13 22:43:59 +08: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:
committed by
Facebook Github Bot
parent
3e866e0380
commit
9b882a3b44
@@ -656,7 +656,7 @@ exports.examples = [
|
||||
<View style={{flexDirection: 'row'}}>
|
||||
<Image
|
||||
source={{
|
||||
url: 'ImageInBundle',
|
||||
uri: 'ImageInBundle',
|
||||
bundle: 'UIExplorerBundle',
|
||||
width: 100,
|
||||
height: 100,
|
||||
@@ -665,7 +665,7 @@ exports.examples = [
|
||||
/>
|
||||
<Image
|
||||
source={{
|
||||
url: 'ImageInAssetCatalog',
|
||||
uri: 'ImageInAssetCatalog',
|
||||
bundle: 'UIExplorerBundle',
|
||||
width: 100,
|
||||
height: 100,
|
||||
|
||||
Reference in New Issue
Block a user