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

feat: add sceneContainerStyle prop to bottom-tabs navigator #8947

Merged
merged 3 commits into from
Oct 23, 2020

Conversation

wwdrew
Copy link
Contributor

@wwdrew wwdrew commented Oct 12, 2020

This feature adds the sceneContainerStyle prop to the bottom-tabs navigator, to allow setting styles on the container's view. It's already implemented in the material-top-tabs and drawer navigators, I've simply ported it into the bottom-tabs navigator.

It also fixes this issue:

#8076

@netlify
Copy link

netlify bot commented Oct 12, 2020

Deploy preview for react-navigation-example ready!

Built with commit 07de936

https://deploy-preview-8947--react-navigation-example.netlify.app

@codecov-io
Copy link

Codecov Report

Merging #8947 into main will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8947   +/-   ##
=======================================
  Coverage   74.24%   74.24%           
=======================================
  Files         131      131           
  Lines        3231     3231           
  Branches      998      998           
=======================================
  Hits         2399     2399           
  Misses        727      727           
  Partials      105      105           
Impacted Files Coverage Δ
...m-tabs/src/navigators/createBottomTabNavigator.tsx 100.00% <ø> (ø)
packages/bottom-tabs/src/views/BottomTabView.tsx 96.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80ff5a9...f05ba19. Read the comment docs.

packages/bottom-tabs/src/views/BottomTabView.tsx Outdated Show resolved Hide resolved
packages/bottom-tabs/src/views/BottomTabView.tsx Outdated Show resolved Hide resolved
packages/bottom-tabs/src/views/BottomTabView.tsx Outdated Show resolved Hide resolved
packages/bottom-tabs/src/views/BottomTabView.tsx Outdated Show resolved Hide resolved
packages/bottom-tabs/src/views/BottomTabView.tsx Outdated Show resolved Hide resolved
packages/bottom-tabs/src/views/BottomTabView.tsx Outdated Show resolved Hide resolved
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.

Thanks!

@satya164 satya164 merged commit f01bb48 into react-navigation:main Oct 23, 2020
@mvrdrew
Copy link

mvrdrew commented Oct 23, 2020

Hi @satya164, thanks so much for approving this! Just to let you know, I prepared a PR for the website to document this as well: react-navigation/react-navigation.github.io#877

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

Successfully merging this pull request may close these issues.

None yet

4 participants