Skip to main content

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#

assetGroup#

the asset group, default is icons
string

assetName#

if provided icon source will be driven from asset name
string

recorderTag#

Recorder Tag
'mask' | 'unmask'

size#

The icon size
number

supportRTL#

whether the image should flip horizontally on RTL locals
boolean

tintColor#

The icon tint
string