-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Failed prop type: TabNavigator: prop type tabBarStyle
is invalid;
#200
Comments
It's a bug. You need change the code as the following. export default class TabNavigator extends React.Component { |
ViewPropTypes is undefined |
I'm just deleting this code |
大佬们这个问题怎么搞呀 |
上面有了解决文案了。。删了它 |
Why not fix the bug |
import TabNavigator from 'react-native-tab-navigator';
render() {
return (
<TabNavigator tabBarStyle={{height: 49}}>
{......}
);
}
Error:
Warning: Failed prop type: TabNavigator: prop type
tabBarStyle
is invalid; it must be a function, usually from theprop-types
package, but receivedundefined
.The text was updated successfully, but these errors were encountered: