Add "Play Next" action (finally)

This commit is contained in:
Deluan
2020-09-21 20:10:52 -04:00
parent aa133e6b00
commit 7305e3aa17
14 changed files with 130 additions and 23 deletions
+8
View File
@@ -1,10 +1,18 @@
import React, { Fragment } from 'react'
import AddToQueueButton from './AddToQueueButton'
import AddToPlaylistButton from './AddToPlaylistButton'
import { RiPlayList2Fill } from 'react-icons/ri'
import { playNext } from '../audioplayer'
export const SongBulkActions = (props) => {
return (
<Fragment>
<AddToQueueButton
{...props}
action={playNext}
label={'resources.song.actions.playNext'}
icon={<RiPlayList2Fill />}
/>
<AddToQueueButton {...props} />
<AddToPlaylistButton {...props} />
</Fragment>