-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementRequires extension or creation of new React Native APIRequires extension or creation of new React Native APIneeds: help
Description
We need a new webpack image loader that can generate RN source objects from assets on the file system:
require('./image.png');
// => { uri: '...', width: 40, height: 40 }
It should also support RN's syntax for resolution-specific images:
image.png
[email protected]
[email protected]
...by adding extra data to the object so that Image
can choose the most appropriate asset:
require('./image.png');
// => { uri: '...', uri@2x: '...', uri@3x: '...', width: 40, height: 40 }
luisfcofv, madox2, sertony, MatthieuLemoine, fampinheiro and 10 more
Metadata
Metadata
Assignees
Labels
enhancementRequires extension or creation of new React Native APIRequires extension or creation of new React Native APIneeds: help