use 'a uri' instead of 'an uri' as uri is pronounced as 'You R I'
Summary: Closes https://github.com/facebook/react-native/pull/7912 Differential Revision: D3390536 fbshipit-source-id: b0ca315b1e8b4b5ab0c7933cf995c9982a074afc
This commit is contained in:
parent
3f92e09787
commit
28b16dd294
|
@ -113,7 +113,7 @@ For example, the result of `require('./my-icon.png')` might be:
|
||||||
|
|
||||||
## Source as an object
|
## Source as an object
|
||||||
|
|
||||||
In React Native, one interesting decision is that the `src` attribute is named `source` and doesn't take a string but an object with an `uri` attribute.
|
In React Native, one interesting decision is that the `src` attribute is named `source` and doesn't take a string but an object with a `uri` attribute.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
<Image source={{uri: 'something.jpg'}} />
|
<Image source={{uri: 'something.jpg'}} />
|
||||||
|
|
Loading…
Reference in New Issue