mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook Github Bot 8
parent
3f92e09787
commit
28b16dd294
+1
-1
@@ -113,7 +113,7 @@ For example, the result of `require('./my-icon.png')` might be:
|
||||
|
||||
## 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
|
||||
<Image source={{uri: 'something.jpg'}} />
|
||||
|
||||
Reference in New Issue
Block a user