question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tabs with React navigation

See original GitHub issue

Hi! I’m trying to integrate NativeBase with react-navigation. I’m having some trouble to understand how to hook up the TabNavigator from react-navigation with Tabs from NativeBase.

Is there an example somewhere?

Here is my code: https://gist.github.com/nonameolsson/2f2e1d3f6f51377da5f4ec110b8ad762#file-appnavigation-js-L71

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
shivrajkumarcommented, Sep 11, 2017

Tabs and react-navigation TabNavigator together doesn’t make sense. As both provide the same functionality. But using TabNavigator makes much more sense. If you want to use NativeBase Tabs for its styling. You can use it this way. Use TabHeading instead of FooterTab there.

0reactions
nonameolssoncommented, Sep 12, 2017

@shivrajkumar I hear you. The reason I wanted to use NativeBase tabs with TabNavigator was to have the nice styling from NativeBase

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tab navigation - React Navigation
Possibly the most common style of navigation in mobile apps is tab-based navigation. This can be tabs on the bottom of the screen...
Read more >
react-navigation-tabs - npm
Tab Navigation components for React Navigation. ... Start using react-navigation-tabs in your project by running `npm i ...
Read more >
How do navigate to a tab from another tab using react ...
The below should work in this case: navigation.navigate('CommunityTab', { screen: 'CommunityReply' });.
Read more >
react-navigation-tab | React Native Tutorial - GitHub Pages
1. Introducing React Navigation Tab. Mobile apps are commonly found in tab-based navigation styles by default. Tabs are usually located at the top...
Read more >
Handle Tab changes in React Navigation - ITNEXT
Recently I had to react (perform some actions) when the user switches to a specific Tab in a React Native TabNavigator, using React...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found