Skip to content

Conversation

@vkjr
Copy link
Contributor

@vkjr vkjr commented Sep 26, 2019

Fixes #506

Now it is possible to put images into binary resources. To do this you need to add section in package.json:

"desktopImages": [
"../../../../../desktop/resources/app_icon.png"
],

After this app_icon can be used in Image component:

<Image source={{uri: 'app_icon'}} style={{width: 40, height: 40}} />

@vkjr vkjr self-assigned this Sep 26, 2019
@vkjr vkjr merged commit 6cf317a into master Sep 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the feature/image-from-resources branch September 26, 2019 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add possibility to save and load custom resources

1 participant