1
0
mirror of synced 2024-12-15 07:41:15 +01:00
bemaniutils/bemani/frontend/static/components/rival.react.js

12 lines
316 B
JavaScript
Raw Normal View History

/** @jsx React.DOM */
var Rival = createReactClass({
render: function() {
if (this.props.player.remote) {
return <span>{ this.props.player.name }</span>;
} else {
return <a href={Link.get('player', this.props.userid)}>{ this.props.player.name }</a>;
}
},
});