Open Mrzhang007 opened 5 years ago
also need the answer
i find the top of border line is a view that above all the tabbar.item, so the best way is to delete the line of view.
you can delete the TabBar.js code like it:
render() { return ( <Animated.View {...this.props} style={[styles.container, this.props.style]}> {this.props.children} {/*<View style={[styles.shadow, this.props.shadowStyle]} />*/} </Animated.View> ); } }
Add
<TabNavigator
tabBarShadowStyle={{backgroundColor:'transparent'}}
>
{.....}
</TabNavigator>
How can i delete navigator top border?