sospedra/reinput

Icon isn't showing.

Closed this issue · 2 comments

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>

Hey @witalobenicio I don't really understand the problem. Can you provide a reproducible example?

Closing for inactivity. Feel free to open a new one