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:
sunnylqm 2016-03-06 02:06:46 -08:00 committed by Facebook Github Bot 3
parent 87245b2d40
commit 262983f88e

View File

@ -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.
On Windows, you might need to restart the packager if you add new images to your project.
Here are some benefits that you get:
1. Same system on iOS and Android.