Skip to content

封装了RN自己的Navigator,能够在Component设置对应NavigationBar的部分内容

Notifications You must be signed in to change notification settings

zhou333chen/NavigationVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2b47505 · May 9, 2016

History

5 Commits
May 9, 2016
May 9, 2016

Repository files navigation

NavigationVC

封装了RN自己的Navigator,能够在Component设置对应NavigationBar的部分内容

使用方法

//Main.js
<NavigationVC component={yourComponentName}/>

//yourComponentName.js
constructor(props) {
          super(props);
          this.props.route.title = 'Title';
          this.props.route.rightButton = {title: 'refresh',
                                          clicked: this._refresh(),};
      }

About

封装了RN自己的Navigator,能够在Component设置对应NavigationBar的部分内容

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published