Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to combine with react-native-tabs?I need to display four custo #2419

Closed
jeffzing opened this issue Sep 22, 2017 · 3 comments
Closed

how to combine with react-native-tabs?I need to display four custo #2419

jeffzing opened this issue Sep 22, 2017 · 3 comments

Comments

@jeffzing
Copy link

jeffzing commented Sep 22, 2017

Version

Tell us which versions you are using:

  • react-native-router-flux v^4.0.0-beta.19"
  • react-native "0.47.1",

Expected behaviour

I need to display four customer tabbar at the bottom of the view container

Actual behaviour

tabbar are on the top and I don't know how to customization tab icon

@jeffzing
Copy link
Author

sent someone to save me.

@shukerullah
Copy link

Is this (following code snippet) you want?

<Scene
  tabs
  lazy
  showIcon
  key="tabs"
  showLabel={false}
  tabBarPosition="bottom"
  iconStyle={styles.iconStyle}
  tabBarStyle={styles.tabBarStyle}
  indicatorStyle={styles.indicatorStyle}
>
  <Scene initial key="home" title="Home" icon={HomeIcon} component={Home}>
  <Scene initial key="settings" title="Settings" icon={SettingsIcon} component={Settings}>
</Scene>

@jeffzing
Copy link
Author

man,your code works for me,You did help me out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants