My customized navigation bar is using the <View>
element.
https://i.sstatic.net/QA8Ad.png
Is it possible to add a bottom shadow similar to the default react-navigation bar (refer to the image below)?
https://i.sstatic.net/ORD8J.png
I find it challenging to implement the shadow effect
header: {
height: 55,
flexDirection: 'row',
shadowColor: 'black',
shadowOpacity: 0.1,
shadowRadius: 5,
shadowOffset: {
height: 5,
},
elevation: 4,
zIndex: -1,
overflow: 'visible'
},