File tree Expand file tree Collapse file tree 3 files changed +3
-30
lines changed
packages/react-native-bottom-tabs/src Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';
1212
1313//@ts -ignore
1414import type { ImageSource } from 'react-native/Libraries/Image/ImageSource' ;
15- import TabViewAdapter from './TabViewAdapter ' ;
15+ import NativeTabView from './TabViewNativeComponent ' ;
1616import useLatestCallback from 'use-latest-callback' ;
1717import type { BaseRoute , NavigationState } from './types' ;
1818
@@ -270,7 +270,7 @@ const TabView = <Route extends BaseRoute>({
270270
271271 return (
272272 < BottomTabBarHeightContext . Provider value = { tabBarHeight } >
273- < TabViewAdapter
273+ < NativeTabView
274274 { ...props }
275275 { ...tabLabelStyle }
276276 style = { styles . fullWidth }
@@ -332,7 +332,7 @@ const TabView = <Route extends BaseRoute>({
332332 </ View >
333333 ) ;
334334 } ) }
335- </ TabViewAdapter >
335+ </ NativeTabView >
336336 </ BottomTabBarHeightContext . Provider >
337337 ) ;
338338} ;
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments