Icon
Icon component
(code example)
info
This component extends Image props.
tip
This component support margin modifiers.
Usageβ
Live Editor
<Icon source={Assets.icons.demo.drag} tintColor={Colors.grey40}/>
Result
Loading...
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