mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
Add base context menu provider/component
This commit is contained in:
parent
8ebe882236
commit
4d5e4082bb
7 changed files with 280 additions and 1 deletions
31
src/renderer/features/context-menu/context-menu-items.tsx
Normal file
31
src/renderer/features/context-menu/context-menu-items.tsx
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { SetContextMenuItems } from '/@/renderer/features/context-menu/events';
|
||||
|
||||
export const SONG_CONTEXT_MENU_ITEMS: SetContextMenuItems = [
|
||||
{ id: 'play' },
|
||||
{ id: 'playLast' },
|
||||
{ id: 'playNext' },
|
||||
{ disabled: true, id: 'addToPlaylist' },
|
||||
{ disabled: true, id: 'addToFavorites' },
|
||||
{ disabled: true, id: 'removeFromFavorites' },
|
||||
{ disabled: true, id: 'setRating' },
|
||||
];
|
||||
|
||||
export const ALBUM_CONTEXT_MENU_ITEMS: SetContextMenuItems = [
|
||||
{ id: 'play' },
|
||||
{ id: 'playLast' },
|
||||
{ id: 'playNext' },
|
||||
{ disabled: true, id: 'addToPlaylist' },
|
||||
{ disabled: true, id: 'addToFavorites' },
|
||||
{ disabled: true, id: 'removeFromFavorites' },
|
||||
{ disabled: true, id: 'setRating' },
|
||||
];
|
||||
|
||||
export const ARTIST_CONTEXT_MENU_ITEMS: SetContextMenuItems = [
|
||||
{ id: 'play' },
|
||||
{ id: 'playLast' },
|
||||
{ id: 'playNext' },
|
||||
{ disabled: true, id: 'addToPlaylist' },
|
||||
{ disabled: true, id: 'addToFavorites' },
|
||||
{ disabled: true, id: 'removeFromFavorites' },
|
||||
{ disabled: true, id: 'setRating' },
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue