Replies: 1 comment
-
Cześć Dawid 👋 Unistyles can't magically update views without styles passed as prop. Wherever you've used useStyle it worked as expected. You need to do the same with navigation components. The only issue is that navigation components don't accept style property. In this case you need to pass values a props like here: https://github.com/jpudysz/react-native-unistyles-expo-router/blob/main/app/_layout.tsx I hope that will help to get you unblocked. Happy coding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. First of all: świetna libka panowie ^^ (sorry english-only speakers :D).
Second of all: how do I force Tabs to change colors along with other components of
expo-router
(which is based onreact-navigation
)?It seems like every component inherits colors of new theme, but
<Tabs/>
does not, so I assume that's not Unistyles bug, but ratherreact-navigation
one, but maybe there is a fix for that that some who already uses Unistyles knows how to fix?24-06-30-09-14-01.mp4
Beta Was this translation helpful? Give feedback.
All reactions