Closed elirangoshen closed 3 years ago
This is caused by these default styles:
You can use the headerContainerStyle
prop to override them.
thanks ! it worked
Setting shadowOpacity: 0 and elevation: 0 did the job for me
Full example:
const styles = StyleSheet.create({
headerContainerStyle: {
shadowOpacity: 0,
},
});
<Tabs.Container
headerContainerStyle={styles.headerContainerStyle}
// ...
Setting elevation
is required to support Android though
Current behavior
When im using Tab.Container in a screen that im using custom screen header, i notice there is some shadow line in the top
Expected behaviour
there shouldn't be any shadow in the top of the screen
Code sample
For Syntax Highlighting check this link
Screenshots (if applicable)
What have you tried
I tried to change Tab.Container props but still couldn't solve it