react-navigation-tabs
Tab Navigation components for React Navigation
Last updated a month ago by satya164 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-navigation-tabs 
SYNC missed versions from official npm registry.

React Navigation Tabs

Build Status Version MIT License

Tab navigators for React Navigation.

Installation

Follow the instructions on the the React Navigation "Getting Started" guide, and then add the react-navigation-tabs package to your project.

Usage

The package exports two different navigators:

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

You can import individual navigators and use them:

import { createBottomTabNavigator } from 'react-navigation-tabs';

export default createBottomTabNavigator({
  Album: { screen: Album },
  Library: { screen: Library },
  History: { screen: History },
  Cart: { screen: Cart },
});

You can install another package, react-navigation-material-bottom-tabs, to use a third type of tab navigator:

  • createMaterialBottomTabNavigator: Material design themed animated bottom tabs, from react-native-paper.
import { createMaterialBottomTabNavigator } from 'react-navigation-material-bottom-tabs';

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

Development workflow

To setup the development environment, open a Terminal in the repo directory and run the following:

yarn bootstrap

While developing, you can run the example app with Expo to test your changes:

yarn example start

Make sure your code passes TypeScript and ESLint. Run the following to verify:

yarn typescript
yarn lint

To fix formatting errors, run the following:

yarn lint --fix

Docs

Current Tags

  • 2.10.1                                ...           latest (a month ago)
  • 1.2.0-alpha.0                                ...           next (a year ago)

79 Versions

  • 2.10.1                                ...           a month ago
  • 2.10.0                                ...           a month ago
  • 2.9.2                                ...           2 months ago
  • 2.9.1                                ...           2 months ago
  • 2.9.0                                ...           5 months ago
  • 2.8.13                                ...           7 months ago
  • 2.8.12                                ...           7 months ago
  • 2.8.11                                ...           8 months ago
  • 2.8.10                                ...           8 months ago
  • 2.8.9                                ...           8 months ago
  • 2.8.8                                ...           8 months ago
  • 2.8.7                                ...           8 months ago
  • 2.8.6                                ...           8 months ago
  • 2.8.5                                ...           8 months ago
  • 2.8.4                                ...           9 months ago
  • 2.8.3                                ...           9 months ago
  • 2.8.2                                ...           9 months ago
  • 2.8.1                                ...           9 months ago
  • 2.8.0                                ...           9 months ago
  • 2.7.0                                ...           a year ago
  • 2.6.2                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 2.5.6                                ...           a year ago
  • 2.5.5                                ...           a year ago
  • 2.5.4                                ...           a year ago
  • 2.5.3                                ...           a year ago
  • 2.5.2                                ...           a year ago
  • 2.5.1                                ...           a year ago
  • 2.5.0                                ...           a year ago
  • 2.4.2                                ...           a year ago
  • 2.4.1                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.2.0-alpha.0                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.3                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 2.0.0-alpha.0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 1.0.0-alpha.5                                ...           2 years ago
  • 1.0.0-alpha.4                                ...           2 years ago
  • 1.0.0-alpha.3                                ...           2 years ago
  • 1.0.0-alpha.2                                ...           2 years ago
  • 1.0.0-alpha.1                                ...           2 years ago
  • 0.8.4                                ...           2 years ago
  • 0.8.3                                ...           2 years ago
  • 0.8.2                                ...           2 years ago
  • 0.8.1                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.2.0-rc.0                                ...           3 years ago
  • 0.1.0-alpha.8                                ...           3 years ago
  • 0.1.0-alpha.7                                ...           3 years ago
  • 0.1.0-alpha.6                                ...           3 years ago
  • 0.1.0-alpha.5                                ...           3 years ago
  • 0.1.0-alpha.4                                ...           3 years ago
  • 0.1.0-alpha.3                                ...           3 years ago
  • 0.1.0-alpha.2                                ...           3 years ago
  • 0.1.0-alpha.1                                ...           3 years ago
  • 0.1.0-alpha.0                                ...           3 years ago
Downloads
Today 343
This Week 1,037
This Month 718
Last Day 375
Last Week 1,768
Last Month 7,694

Copyright 2014 - 2016 © taobao.org |