feat(web/context): allow separate metadata progress bars colors

Closes #430
This commit is contained in:
Luke
2023-10-28 18:30:28 +02:00
parent e6e7bf5547
commit 1c5f4d6ac8
4 changed files with 19 additions and 4 deletions

View File

@@ -12,7 +12,10 @@ interface ContextMenuItem {
colorScheme?: string;
onSelect?: (args: any) => void;
readOnly?: boolean;
metadata?: string[] | { [key: string]: any } | { label: string; value: any; progress?: number }[];
metadata?:
| string[]
| { [key: string]: any }
| { label: string; value: any; progress?: number; colorScheme?: string }[];
disabled?: boolean;
event?: string;
serverEvent?: string;