mirror of
https://github.com/status-im/react-native.git
synced 2025-02-06 22:54:27 +00:00
Merge pull request #3996 from sunnylqm/patch-1
Update Images.md(remove the unexisted "screenshot")
This commit is contained in:
commit
cb0d510955
@ -101,7 +101,7 @@ iOS saves multiple sizes for the same image in your Camera Roll, it is very impo
|
||||
|
||||
*In React Native* this behavior is intentionally not implemented. It is more work for the developer to know the dimensions (or aspect ratio) of the remote image in advance, but we believe that it leads to a better user experience. Static images loaded from the app bundle via the `require('./my-icon.png')` syntax *can be automatically sized* because their dimensions are available immediately at the time of mounting.
|
||||
|
||||
For example, the result of `require('./my-icon.png')` from the above screenshot:
|
||||
For example, the result of `require('./my-icon.png')` might be:
|
||||
|
||||
```javascript
|
||||
{"__packager_asset":true,"path":"/Users/react/HelloWorld/my-icon.png","uri":"my-icon.png","width":591,"height":573}
|
||||
|
Loading…
x
Reference in New Issue
Block a user