We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df03b51 + 9590c24 commit 5c61963Copy full SHA for 5c61963
docs/bottom-tab-navigator.md
@@ -48,6 +48,25 @@ tabBarOptions: {
48
}
49
```
50
51
+If you want to customize the `tabBarComponent`:
52
+
53
+```js
54
+import { createBottomTabNavigator, BottomTabBar } from 'react-navigation-tabs';
55
56
+const TabBarComponent = (props) => (<BottomTabBar {...props} />);
57
58
+const TabScreens = createBottomTabNavigator(
59
+ {
60
+ tabBarComponent: props =>
61
+ <TabBarComponent
62
+ {...props}
63
+ style={{ borderTopColor: '#605F60' }}
64
+ />,
65
+ },
66
+);
67
+```
68
69
70
## `navigationOptions` for screens inside of the navigator
71
72
#### `title`
0 commit comments