-
Notifications
You must be signed in to change notification settings - Fork 200
Styling text of TabItem in TabNavigation #167
Comments
maybe a example usage I would be more than happy to send a PR to add this. |
That would be pretty convenient! I'm debating just replacing it with icons, but... I also encountered this: renderTitle() here: https://github.com/exponentjs/ex-navigation/blob/3788c8723ddaf5f457691ca9a7972fd3e0b8044e/example/components/TranslucentBarExample.js Going go try fiddle around with that. |
thats one way to over come the situation, im debating wether or not an attribute would be useful or not /cc @skevy @brentvatne |
I'm struggling to convert over to the above example, so yes, another attribute would be useful. I think it's fairly common that someone would try to alter the background and tab item color? That said, about to look into using icons, which was part of my design plan anyway. |
Got it working as follows:
And then...
|
Saved me a headache. Thank you |
Hi there,
Digging into the code, it seems that it's not possible to pass a prop to define the text color of the TabItem in TabNavigation? For example, on TabNavigation I can set tabBarColor="#333", which requires that of renderTabItems() (in ExNavigationTabBar.js) would need to be white.
Doesn't seem like there's an option for this? Do I need to override somehow?
Thanks!
The text was updated successfully, but these errors were encountered: