I have a bottom bar to which i want to add this kind of background in react native currently it looks like this.
How do i achieve this
This is my current code
<View style={{justifyContent: 'center', alignItems: 'center'}}>
<Image
style={tabStyle.iconSize}
source={require('../assets/List-icon-1.png')}
/>
<Image
style={tabStyle.arrowSize}
source={require('../assets/Arrow-1-1.png')}
/>
</View>
const tabStyle = StyleSheet.create({
iconSize: {
height: 35,
width: 35,
marginBottom: 5,
},
arrowSize: {
height: 17,
width: 15,
marginBottom: 5,
},
});
2
Answers
You can customize this in tabBar options prop in your tabBar component
You need a component for this.
after that
if doesnt work u can commet for help ^^