xxxxxxxxxx
<Tab.Navigator
screenOptions={{
headerStyle: {
backgroundColor: 'rgb(242,242,242)',
// below four properties will remove the shadow
borderBottomColor: "transparent",
shadowColor: 'transparent',
borderBottomWidth: 0,
elevation: 0
},
all the other stuff
}}
>