feat: add tabBarSpacing property
Motivation
The goal is to support spacing between tabs ( see #1020 ) - It is roughly doable with some customizations (thanks to renderTabBarItem and renderIndicator methods) but it requires to modify internal methods (getTranslateX for example)
Test plan
I have added one example ( TabBarSpacingExample )
@satya164 What do you think about this? It's very nice if we have this props.
Would definitely find this feature quite useful 👍
Also add my vote on this 👍
@mlecoq Do you have some time to rebase the PR? 🙏🏻
This way @satya164 can have a look and maybe include it in the next release!
@Kerumen I'll make it soon (tomorrow)
Hey mlecoq! Thanks for opening your first pull request in this repo. If you haven't already, make sure to read our contribution guidelines.
Would definitely find this feature quite useful +1
Hey @mlecoq, thanks for your PR! Can you rebase this with the main branch? I will review this once you rebase it and test it again current pager-version.
Hey @mlecoq, thanks for your PR! Can you rebase this with the main branch? I will review this once you rebase it and test it again current pager-version.
Done !
Also just for naming, please remove the
tabBarprefix and change the name togapto match the CSS property which does the same thing
@okwasniewski Thanks for your feedback, I think I have taken into account all your remarks, please let me know if something is missing