1import React from 'react';
3class AppNavigation extends React.Component {
7 this.navigate = this.navigate.bind(this);
12 if (this.props.appView === 'bridge') appView = 'walletgen';
13 if (this.props.appView === 'walletgen') appView = 'bridge';
15 this.props.setView(appView);
20 if (this.props.appView === 'bridge') buttonText = 'Go to Walletgen';
21 if (this.props.appView === 'walletgen') buttonText = 'Go to Bridge';
27 textDecoration: 'underline',
32 <span style={style} onClick={this.navigate}>
39export { AppNavigation };
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list