feat(web/context): readOnly buttons

This commit is contained in:
Luke
2023-09-22 13:49:15 +02:00
parent c9246bb392
commit aaa37047f1
3 changed files with 19 additions and 5 deletions

View File

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