File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const App = () => {
4646 return (
4747 < NavigationContainer>
4848 < Tab .Navigator
49- tabBar= {(props ) => < ColorfulTabBar {... props} / > } // <- Add Here
49+ tabBar= {(props ) => < ColorfulTabBar {... props} / > } // Add Here
5050 >
5151 {/* Your Screens Here ~ */ }
5252 < / Tab .Navigator >
@@ -171,7 +171,7 @@ const App = () => {
171171 return (
172172 < NavigationContainer>
173173 < Tab .Navigator
174- tabBar= {(props ) => < CleanTabBar {... props} / > } // <- Add Here
174+ tabBar= {(props ) => < CleanTabBar {... props} / > } // Add Here
175175 >
176176 {/* Your Screens Here ~ */ }
177177 < / Tab .Navigator >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { NavigationContainer } from '@react-navigation/native';
33import { createBottomTabNavigator } from '@react-navigation/bottom-tabs' ;
44import { StyleSheet , Text , View } from 'react-native' ;
55import Icon from 'react-native-vector-icons/AntDesign'
6- import { CleanTabBar } from 'react-navigation-tabbar-collection' ;
6+ import { ColorfulTabBar as TabBar } from 'react-navigation-tabbar-collection' ;
77
88const Tab = createBottomTabNavigator ( ) ;
99
@@ -19,7 +19,7 @@ const App = () => {
1919 < Tab . Navigator
2020 initialRouteName = "Home"
2121 screenOptions = { { headerShown : false } }
22- tabBar = { ( props ) => < CleanTabBar { ...props } /> }
22+ tabBar = { ( props ) => < TabBar { ...props } /> }
2323 >
2424 < Tab . Screen
2525 name = "Home"
You can’t perform that action at this time.
0 commit comments