Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

fix: fix default BottomTabBar button #161

Merged
merged 2 commits into from
Nov 4, 2019

Conversation

owinter86
Copy link
Contributor

@owinter86 owinter86 commented Nov 4, 2019

Hey,

I noticed that creating a new BottomTabNavigator required the TabBarButton to be specifically defined by the user, and then saw that the default fallback for renderbutton would never resolve as it is always a function (returning the user defined button, or undefined). This small fix moves the default fallback to the BottomTabView, so a user can use the default navigation tab bar button.

Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Thanks

@satya164 satya164 changed the title Fix default BottomTabBar button fix: fix default BottomTabBar button Nov 4, 2019
@satya164 satya164 merged commit 22cb675 into react-navigation:master Nov 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants