React-native-router-flux: TabBar on top

Created on 27 Jul 2016  路  2Comments  路  Source: aksonov/react-native-router-flux

  • react-native-router-flux v3.32.0
  • react-native v0.30

How to set navigation bar on top on the screen?

question

Most helpful comment

You can set tabBarStyle like this:

tabBarStyle={ {
    ...Platform.select({
      ios: {
        top: 64,
      },
      android: {
        top: 54,
      },
    }),
    height: 65,
    padding: 16,
  }}

All 2 comments

You can set tabBarStyle like this:

tabBarStyle={ {
    ...Platform.select({
      ios: {
        top: 64,
      },
      android: {
        top: 54,
      },
    }),
    height: 65,
    padding: 16,
  }}

@sarovin property top helped me, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

willmcclellan picture willmcclellan  路  3Comments

tonypeng picture tonypeng  路  3Comments

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

moaxaca picture moaxaca  路  3Comments

kirankalyan5 picture kirankalyan5  路  3Comments