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

Can't customize tabItemContainer style #47

Open
yashgada opened this issue Feb 3, 2023 · 1 comment
Open

Can't customize tabItemContainer style #47

yashgada opened this issue Feb 3, 2023 · 1 comment

Comments

@yashgada
Copy link
Contributor

yashgada commented Feb 3, 2023

It becomes necessary to customise the tabItemContainer, for example if one needs to remove the bottom padding below the Highlight, or add a background or so.
I'll share a pull request to make it available as a prop. Naming it tabItemContainerStyle is a mouthfull, but let me know if you have any better ideas.
Line 19 at DynamicTabViewScrollHeader.js

yashgada added a commit to yashgada/react-native-dynamic-tab-view that referenced this issue Feb 3, 2023
tabItemContainerStyle prop enables passing container level style prop to customise the header tabs' touchableOpacity element's style.
yeswanth added a commit that referenced this issue Feb 3, 2023
#47 Added prop tabItemContainerStyle
@yeswanth
Copy link
Owner

yeswanth commented Feb 3, 2023

Thanks @yashgada for the contribution. I've merged your MR.

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

2 participants