
How can I remove the tabbar bottom line
I got it.
What was the solution?
for reference, the line is a box shadow. Setting shadowOpacity and elevation to 0 on TabBar gets rid of it.
In my case, setting shadowOpacity: 0 works well.
<TabBar
{...props}
indicatorStyle={{ backgroundColor: Colors.blue.alt2 }}
style={{ backgroundColor: Colors.white.default, shadowOpacity: 0 }}
activeColor={Colors.blue.alt2}
inactiveColor={Colors.grey.default}
/>
@shahabrauf18 not in TabBar though, in the TabView!
Most helpful comment
for reference, the line is a box shadow. Setting shadowOpacity and elevation to 0 on TabBar gets rid of it.