Files
react-navigation/packages/tabs
2018-04-19 16:02:26 +02:00
..
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-03-19 11:43:58 +01:00
2018-03-17 18:37:54 +01:00
2018-04-19 16:02:26 +02:00
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-03-17 18:37:54 +01:00
2018-04-19 16:02:26 +02:00
2018-03-27 14:12:22 +02:00
2018-04-19 16:02:26 +02:00

React Navigation Tabs

Build Status Version MIT License

Tab navigators for React Navigation.

Installation

Open a Terminal in your project's folder and run,

yarn add react-navigation-tabs react-navigation

Usage

The package exports 3 different navigators:

  • createBottomTabNavigator: iOS like bottom tabs.
  • createMaterialBottomTabNavigator: Material design themed animated bottom tabs, from react-native-paper.
  • createMaterialTopTabNavigator: Material design themed top tabs with swipe gesture, from react-native-tab-view.

You can import individual navigators and use them:

import createMaterialBottomTabNavigator from 'react-navigation-tabs/createMaterialBottomTabNavigator';

export default createMaterialBottomTabNavigator({
  Album: { screen: Album },
  Library: { screen: Library },
  History: { screen: History },
  Cart: { screen: Cart },
}, {
  initialRouteName: 'Album',
  activeTintColor: '#F44336',
});