@@ -13,12 +13,7 @@ import {
1313 useColorScheme ,
1414 Platform ,
1515} from 'react-native' ;
16- import {
17- DarkTheme ,
18- DefaultTheme ,
19- NavigationContainer ,
20- useNavigation ,
21- } from '@react-navigation/native' ;
16+ import { NavigationContainer , useNavigation } from '@react-navigation/native' ;
2217import { createStackNavigator } from '@react-navigation/stack' ;
2318import { createNativeStackNavigator } from '@react-navigation/native-stack' ;
2419import { SafeAreaProvider } from 'react-native-safe-area-context' ;
@@ -30,7 +25,6 @@ import SFSymbols from './Examples/SFSymbols';
3025import LabeledTabs from './Examples/Labeled' ;
3126import NativeBottomTabs from './Examples/NativeBottomTabs' ;
3227import TintColorsExample from './Examples/TintColors' ;
33- import NativeBottomTabsVectorIcons from './Examples/NativeBottomTabsVectorIcons' ;
3428import NativeBottomTabsEmbeddedStacks from './Examples/NativeBottomTabsEmbeddedStacks' ;
3529import NativeBottomTabsSVGs from './Examples/NativeBottomTabsSVGs' ;
3630import NativeBottomTabsRemoteIcons from './Examples/NativeBottomTabsRemoteIcons' ;
@@ -131,10 +125,6 @@ const examples = [
131125 component : HiddenTab ,
132126 name : 'Four Tabs - With Hidden Tab' ,
133127 } ,
134- {
135- component : NativeBottomTabsVectorIcons ,
136- name : 'Native Bottom Tabs with Vector Icons' ,
137- } ,
138128 {
139129 component : NativeBottomTabsSVGs ,
140130 name : 'Native Bottom Tabs with SVG Icons' ,
@@ -189,12 +179,10 @@ export default function Navigation() {
189179 const [ mode , setMode ] = React . useState < 'native' | 'js' > ( defaultStack ) ;
190180
191181 const NavigationStack = mode === 'js' ? Stack : NativeStack ;
192- const colorScheme = useColorScheme ( ) ;
193- const theme = colorScheme === 'dark' ? DarkTheme : DefaultTheme ;
194182
195183 return (
196184 < SafeAreaProvider >
197- < NavigationContainer theme = { theme } >
185+ < NavigationContainer >
198186 < NavigationStack . Navigator initialRouteName = "BottomTabs Example" >
199187 < NavigationStack . Screen
200188 name = "BottomTabs Example"
0 commit comments