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 achieve => headerMode:"screen" #2198

Closed
CodeRabbitYu opened this issue Aug 8, 2017 · 1 comment
Closed

How to achieve => headerMode:"screen" #2198

CodeRabbitYu opened this issue Aug 8, 2017 · 1 comment

Comments

@CodeRabbitYu
Copy link

react-native-router-flux how to achieve headerMode:"screen" effect

@nakulkundaliya
Copy link

nakulkundaliya commented Aug 8, 2017

@SurpassRabbit You can pass headerMode="screen" inside <Scene>

Example

<Scene
  key="tabbar"
  headerMode="screen"
  gestureEnabled={false}
  showLabel={false}
  tabs
  showIcon={true}
  tabBarPosition='bottom'
  swipeEnabled={false}
  activeTintColor='black'
  activeBackgroundColor='transparent'
  tabBarStyle={{backgroundColor:'black'}}
  pressColor="black"
  indicatorStyle={{backgroundColor:'black'}}
  initial
>

I hope it's work for you.

@aksonov aksonov closed this as completed Aug 8, 2017
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

3 participants