Button BEM; Context menu added_by

This commit is contained in:
James Barnsley
2018-12-07 15:57:20 +13:00
parent 7538402ae7
commit 078add0929
17 changed files with 145 additions and 148 deletions

View File

@ -247,7 +247,7 @@ class Track extends React.Component{
</div>
<div className="actions">
<button className="primary" onClick={e => this.play()}>Play</button>
<button className="button button--primary" onClick={e => this.play()}>Play</button>
<LastfmLoveButton uri={this.props.params.uri} artist={(this.props.track.artists ? this.props.track.artists[0].name : null)} track={this.props.track.name} addText="Love" removeText="Unlove" is_loved={this.props.track.userloved} />
<ContextMenuTrigger onTrigger={e => this.handleContextMenu(e)} />
</div>