diff --git a/packages/react-navigation/src/views/TabView/TabBarTop.js b/packages/react-navigation/src/views/TabView/TabBarTop.js index 7d5e8b67..34465f1f 100644 --- a/packages/react-navigation/src/views/TabView/TabBarTop.js +++ b/packages/react-navigation/src/views/TabView/TabBarTop.js @@ -4,7 +4,6 @@ import * as React from 'react'; import { Animated, StyleSheet } from 'react-native'; import { TabBar } from 'react-native-tab-view'; import TabBarIcon from './TabBarIcon'; -import SafeAreaView from '../SafeAreaView'; import type { NavigationAction, @@ -84,16 +83,12 @@ export default class TabBarTop extends React.PureComponent { const label = this.props.getLabel({ ...scene, tintColor }); if (typeof label === 'string') { return ( - - - {upperCaseLabel ? label.toUpperCase() : label} - - + {upperCaseLabel ? label.toUpperCase() : label} + ); } if (typeof label === 'function') {