mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-22 10:58:36 +00:00
feat(client/radial): return currentMenu and itemIndex onSelect
This commit is contained in:
1 parent
60e3a12033
commit
29022e1a48
2 files changed
+12
-4
No files matched your search
@@ -4,7 +4,7 @@ type RadialItem = {
|
||||
id: string;
|
||||
label: string;
|
||||
icon: IconName | [IconPrefix, IconName];
|
||||
onSelect?: () => void;
|
||||
onSelect?: (currentMenu: string | null, itemIndex: number) => void;
|
||||
menu?: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user