топ торрентов

This commit is contained in:
Alexey Kasyanchuk
2017-11-10 14:24:53 +03:00
parent 223863191f
commit 0717e4d94a
4 changed files with 110 additions and 4 deletions

View File

@ -139,6 +139,9 @@ export default class RecentTorrents extends Component {
return (
<List className='animated recent-torrents'>
<Subheader className='recent-title' inset={true}>
<FlatButton style={{marginRight: '8px'}} primary={true} label='top' labelStyle={{color: "#a4c639"}} onClick={() =>{
window.router('/top');
}} />
<FlatButton style={{marginRight: '8px'}} label={!this.state.pause ? 'running' : 'stoped'} secondary={this.state.pause} primary={!this.state.pause} onClick={() =>{
this.pauseAndContinue()
}} />