Closed maheshlipane99 closed 4 years ago
Invariant Violation: Invalid prop backgroundColor supplied to StyleSheet generated: Valid color formats are
backgroundColor
StyleSheet generated
StyleSheet generated: { "position": "absolute", "top": 20, "width": 0, "height": 0, "borderRadius": 100, "backgroundColor": "", "zIndex": -1 }
<Tabs.Navigator tabBarOptions={{ activeTintColor: "#2F7C6E", inactiveTintColor: "#222222", }} > <Tabs.Screen name="Home" component={HomeScreen} /> <Tabs.Screen name="Orders" component={Orders} /> <Tabs.Screen name="Profile" component={Profile} /> </Tabs.Navigator>
Hi, what was the issue?
Having same issue.
Same issue..
i noticed that adding the prop activeBackgroundColor, the error disappear.
Invariant Violation: Invalid prop
backgroundColor
supplied toStyleSheet generated
: Valid color formats areStyleSheet generated: { "position": "absolute", "top": 20, "width": 0, "height": 0, "borderRadius": 100, "backgroundColor": "", "zIndex": -1 }