Skip to content

Commit 831d4dd

Browse files
committed
update: readme
1 parent ccf5f86 commit 831d4dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

example/src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { NavigationContainer } from '@react-navigation/native';
33
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
44
import { StyleSheet, Text, View } from 'react-native';
55
import 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

88
const 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"

0 commit comments

Comments
 (0)