File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/components/tabController Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import {useDidUpdate} from 'hooks';
20
20
21
21
const FIX_RTL = Constants . isRTL && Constants . isAndroid ;
22
22
const DEFAULT_HEIGHT = 48 ;
23
- const DEFAULT_BACKGROUND_COLOR = Colors . $backgroundElevated ;
24
23
25
24
const DEFAULT_LABEL_STYLE = {
26
25
...Typography . text80M ,
@@ -151,7 +150,7 @@ const TabBar = (props: Props) => {
151
150
iconColor,
152
151
selectedIconColor,
153
152
activeBackgroundColor,
154
- backgroundColor,
153
+ backgroundColor = Colors . $backgroundElevated ,
155
154
faderProps,
156
155
containerWidth : propsContainerWidth ,
157
156
centerSelected,
@@ -322,7 +321,6 @@ TabBar.displayName = 'TabController.TabBar';
322
321
TabBar . defaultProps = {
323
322
labelStyle : DEFAULT_LABEL_STYLE ,
324
323
selectedLabelStyle : DEFAULT_SELECTED_LABEL_STYLE ,
325
- backgroundColor : DEFAULT_BACKGROUND_COLOR ,
326
324
faderProps : DEFAULT_FADER_PROPS ,
327
325
spreadItems : true
328
326
} ;
You can’t perform that action at this time.
0 commit comments