I want to apply prop bordered for a native base button, if menuIndex == menus.house
.
<Button bordered>
<Text uppercase={false}>House</Text>
</Button>
Here is what i tried,
<Button {menuIndex == menus.house? '' : bordered}>
<Text uppercase={false} style={styles.menuTextButtonActive}>
House
</Text>
</Button>