mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
feat(web/progress): progress bar in context menu's metadata (#217)
* feature: progress bar in context menu's metadata * undefined check `metadata.progress`
This commit is contained in:
@@ -10,7 +10,7 @@ export interface Option {
|
||||
iconColor?: string;
|
||||
progress?: number;
|
||||
colorScheme?: string;
|
||||
metadata?: string[] | { [key: string]: any } | { label: string; value: any }[];
|
||||
metadata?: string[] | { [key: string]: any } | { label: string; value: any; progress: number; }[];
|
||||
disabled?: boolean;
|
||||
event?: string;
|
||||
serverEvent?: string;
|
||||
|
||||
Reference in New Issue
Block a user