GitHub地址: https://github.com/wix/react-native-navigation
Readme Ducumentation 链接里面有详细使用方法介绍.文章主要记录一下路由导航头的基本配置信息
this.props.navigator.push({
screen:'example.ScreenPush', //唯一的注册ID
title:'登录' //导航头标题
titleImage:require('../img/example.png'), //导航头标题也可以是图片,设置了此项会覆盖title
passProps:{}, //对象会作为一个属性传递给跳转的页面
animated:true, //跳转过渡效果,默认true
backButtonTitle:'', //返回键边上的title,不需要就设置为空
backButtonHidden:false, //返回键是否隐藏,默认不隐藏
});