You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to change the color of the icon, both cases must allow style={{ tintColor: iconColor }} otherwise the icon remains with the original color I have on the image.
On the meantime I will create white icons images so I don't need to tint them.
The text was updated successfully, but these errors were encountered:
Hi there,
I just tried to use the iconColor prop, to tint the color of the icons I use on the main buttons and it doesn't work.
<FloatingAction actions={actions} onPressItem={name => { console.log(
selected button: ${name}); }} color={darkMode ? Colors.dark.primary : Colors.light.primary} iconWidth={24} iconHeight={24} iconColor='#FF0000' floatingIcon={require('../../assets/images/icons/event.png')} actionsPaddingTopBottom={4} />
After checking the source code, I've noticed that the element doesn't support tintColor at all.
return ( <Image style={{ width: iconWidth, height: iconHeight }} source={floatingIcon} /> );
In order to change the color of the icon, both cases must allow style={{ tintColor: iconColor }} otherwise the icon remains with the original color I have on the image.
On the meantime I will create white icons images so I don't need to tint them.
The text was updated successfully, but these errors were encountered: