mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(web/context): allow separate metadata progress bars colors
Closes #430
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user