@@ -39,8 +39,9 @@ yarn add react-navigation-tabbar-collection
3939``` js
4040import { ColorfulTabBar } from ' react-navigation-tabbar-collection' ;
4141```
42+
4243<details >
43- <summary>Colorful TabBar Usage</summary>
44+ <summary >Colorful TabBar Usage</summary >
4445
4546 ```js
4647 import React from 'react'
@@ -61,7 +62,7 @@ import { ColorfulTabBar } from 'react-navigation-tabbar-collection';
6162 const App = () => {
6263 return (
6364 <NavigationContainer>
64- <Tab.Navigator initialRouteName='Home' screenOptions={{headerShown: false}} tabBar={(props) => <TabBar {...props} />}>
65+ <Tab.Navigator initialRouteName='Home' tabBar={(props) => <TabBar {...props} />}>
6566 <Tab.Screen name='Home' component={DemoScreen} options={{
6667 title: 'Home',
6768 icon: ({focused, color, size}) => <Icon name='home' size={size} color={color} />,
@@ -115,7 +116,7 @@ import { CleanTabBar } from 'react-navigation-tabbar-collection';
115116```
116117
117118<details >
118- <summary>Clean TabBar Usage</summary>
119+ <summary >Clean TabBar Usage</summary >
119120
120121 ```js
121122 import React from 'react'
@@ -136,7 +137,7 @@ import { CleanTabBar } from 'react-navigation-tabbar-collection';
136137 const App = () => {
137138 return (
138139 <NavigationContainer>
139- <Tab.Navigator initialRouteName='Home' screenOptions={{headerShown: false}} tabBar={(props) => <TabBar {...props} />}>
140+ <Tab.Navigator initialRouteName='Home' tabBar={(props) => <TabBar {...props} />}>
140141 <Tab.Screen name='Home' component={DemoScreen} options={{
141142 title: 'Home',
142143 icon: ({focused, color, size}) => <Icon name='home' size={size} color={color} />,
0 commit comments