feat(client/radial): return currentMenu and itemIndex onSelect

This commit is contained in:
Linden
2023-02-26 01:59:01 +11:00
parent 60e3a12033
commit 29022e1a48
2 changed files with 12 additions and 4 deletions

View File

@@ -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;
};