We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在navigationOptions中,不管是设置header: null,还是设置headerTitle: 'myTitle',或者设置title: 'myTitle',都不能修改header。
版本: "dependencies": { "dva-core": "^1.3.0", "react": "16.6.3", "react-native": "0.57.8", "react-navigation": "^2.5.1", "react-navigation-redux-helpers": "^2.0.2", "react-redux": "^5.0.7" },
The text was updated successfully, but these errors were encountered:
在component中设置navigationOptions的title或者headerTitle只对stackNavigator有效。BottomTabNavigator的headerTitle要另外想办法。我现在的解决办法是简单的把底部导航的key直接改成中文标题。比如 'Account': { screen: Account }, 改成 '账号': { screen: Account },
'Account': { screen: Account },
'账号': { screen: Account },
Sorry, something went wrong.
No branches or pull requests
在navigationOptions中,不管是设置header: null,还是设置headerTitle: 'myTitle',或者设置title: 'myTitle',都不能修改header。
版本:
"dependencies": {
"dva-core": "^1.3.0",
"react": "16.6.3",
"react-native": "0.57.8",
"react-navigation": "^2.5.1",
"react-navigation-redux-helpers": "^2.0.2",
"react-redux": "^5.0.7"
},
The text was updated successfully, but these errors were encountered: