Continued porting to react

This commit is contained in:
Colin McLeod
2016-02-02 09:13:59 -08:00
parent b42a812a45
commit d783a38588
43 changed files with 679 additions and 411 deletions

View File

@@ -41,7 +41,8 @@ export default class Link extends React.Component {
* @return {React.Component} A href element
*/
render() {
return <a {...this.props} onClick={this.handler.bind(this)}>{this.props.children}</a>;
let action = this.handler.bind(this);
return <a {...this.props} onTouchTap={action}>{this.props.children}</a>;
}
}