Image
Image wrapper with extra functionality like source transform and assets support
Extends: Image
(meaning you can pass the super component's props as well).
(meaning you can pass the super component's props as well).
PROPS
name | description | type | default |
---|---|---|---|
sourceTransformer | custom source transform handler for manipulating the image source (great for size control) | func | |
assetName | if provided image source will be driven from asset name | string | |
assetGroup | the asset group, default is "icons" | string | 'icons' |
tintColor | the asset tint | string |