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:
Mohit Natoo 2016-06-04 15:48:42 -07:00 committed by Facebook Github Bot 8
parent 3f92e09787
commit 28b16dd294
1 changed files with 1 additions and 1 deletions

View File

@ -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'}} />