mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 06:04:15 +00:00
Add note about adding new images
Summary: Closes https://github.com/facebook/react-native/pull/6144 Differential Revision: D3017020 fb-gh-sync-id: f558cd6ba8f2001d43cfdd02a8f44eae12d024f6 shipit-source-id: f558cd6ba8f2001d43cfdd02a8f44eae12d024f6
This commit is contained in:
parent
87245b2d40
commit
262983f88e
@ -35,6 +35,8 @@ And `button.js` code contains
|
|||||||
|
|
||||||
Packager will bundle and serve the image corresponding to device's screen density, e.g. on iPhone 5s `check@2x.png` will be used, on Nexus 5 – `check@3x.png`. If there is no image matching the screen density, the closest best option will be selected.
|
Packager will bundle and serve the image corresponding to device's screen density, e.g. on iPhone 5s `check@2x.png` will be used, on Nexus 5 – `check@3x.png`. If there is no image matching the screen density, the closest best option will be selected.
|
||||||
|
|
||||||
|
On Windows, you might need to restart the packager if you add new images to your project.
|
||||||
|
|
||||||
Here are some benefits that you get:
|
Here are some benefits that you get:
|
||||||
|
|
||||||
1. Same system on iOS and Android.
|
1. Same system on iOS and Android.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user