Icon
Icon component
(code example)
info
This component extends Image props.
tip
This component support margin modifiers.
#
Usage<Icon source={{uri: 'https://github.com/wix/react-native-ui-lib/blob/master/demo/src/assets/icons/delete.png'}} size={24} tintColor={Colors.grey40}/>
#
API#
assetGroupthe asset group, default is icons
string
#
assetNameif provided icon source will be driven from asset name
string
#
recorderTagRecorder Tag
'mask' | 'unmask'
#
sizeThe icon size
number
#
supportRTLwhether the image should flip horizontally on RTL locals
boolean
#
tintColorThe icon tint
string