Icon isn't showing.
Closed this issue · 2 comments
witalobenicio commented
Your <Icon />
renders this:
<TouchableOpacity
accessible={false}
activeOpacity={1}
onPress={onPress}
style={[styles.icon, overlay && styles.overlay(paddingBottom)]}
>
{children}
</TouchableOpacity>
but instead of children should be icon, this way:
<TouchableOpacity
accessible={false}
activeOpacity={1}
onPress={onPress}
style={[styles.icon, overlay && styles.overlay(paddingBottom)]}
>
{icon}
</TouchableOpacity>
sospedra commented
Hey @witalobenicio I don't really understand the problem. Can you provide a reproducible example?
sospedra commented
Closing for inactivity. Feel free to open a new one