Skip to content

add backgroundColor to tabBar #935

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

Merged
merged 4 commits into from
Sep 29, 2020
Merged

Conversation

lidord-wix
Copy link
Contributor

add custom background color support to tabBar

@ethanshar ethanshar linked an issue Sep 19, 2020 that may be closed by this pull request
Copy link
Collaborator

@ethanshar ethanshar left a comment

Choose a reason for hiding this comment

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

Looks great.
see my only comment on the shadowStyle propType..

/**
* custom shadow style
*/
shadowStyle: RNText.propTypes.style,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are you taking shadow style from RNText?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just saw it on labelStyle and selectedLabelStyle so I thought it is the relevant type of style prop..
Should it be ViewPropTypes.style?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes 👍

@ethanshar ethanshar removed their request for review September 25, 2020 06:05
@ethanshar ethanshar merged commit 7615de1 into master Sep 29, 2020
@lidord-wix lidord-wix deleted the feat/tabBar_backgroundColor_prop branch October 6, 2020 10:42
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.

TabBar.js - can't override the header background color
2 participants