I am currently working with the startTabBasedApp API, which includes three tabs in my app. I have a requirement to change the background color of the tabBar for specific screens dynamically. Is it possible to achieve this at runtime?
For instance:
- Screen 1 ->
tabBar { tabBarBackgroundColor: "red" }
- Screen 2 ->
tabBar { tabBarBackgroundColor: "Blue" }
- Screen 3 ->
tabBar { tabBarBackgroundColor: "yellow" }
I came across a section in the documentation that talks about styling the navigator, but it does not mention the tabBarBackgroundColor property. Is there a workaround or alternative method to implement this feature?
PS: I am still fairly new to React / React-native development.