🔷 refactor context menu to accept context src

🔷 add a getCurrentDate function to get formatted date
This commit is contained in:
geoffrey45
2022-04-08 21:07:24 +03:00
parent 24db32ae09
commit 83330a7fad
13 changed files with 107 additions and 44 deletions
+28
View File
@@ -0,0 +1,28 @@
import { Option } from "../interfaces";
export default async () => {
const deletePlaylist: Option = {
label: "Delete playlist",
critical: true,
action: () => {
console.log("delete playlist");
},
};
const playNext: Option = {
label: "Play next",
action: () => {
console.log("play next");
},
};
const addToQueue: Option = {
label: "Add to queue",
action: () => {
console.log("add to queue");
},
};
return [playNext, addToQueue, deletePlaylist];
};