React-native-navigation: top tabs

Created on 18 Apr 2017  ·  1Comment  ·  Source: wix/react-native-navigation

API

Navigation.push(this.props.containerId, {
      topTabs: [
        {
          name: 'navigation.playground.TopTabOptionsScreen',
          passProps: {
            title: 'Tab 1',
            text: 'This is top tab 1'
          },
          navigationOptions: {
            topTab: {
              title: 'Tab 1'
            }
          }
        },
        {
          name: 'navigation.playground.TopTabScreen',
          passProps: {
            title: 'Tab 2',
            text: 'This is top tab 2'
          },
          navigationOptions: {
            topTab: {
              title: 'Tab 2'
            }
          }
        }
      ]
    });
iOS v2

Most helpful comment

@guyca I dont see it in v2 docs

>All comments

@guyca I dont see it in v2 docs

Was this page helpful?
0 / 5 - 0 ratings

Related issues

swingywc picture swingywc  ·  3Comments

zhanguangao picture zhanguangao  ·  3Comments

charlesluo2014 picture charlesluo2014  ·  3Comments

henrikra picture henrikra  ·  3Comments

bdrobinson picture bdrobinson  ·  3Comments