mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-21 10:38:35 +00:00
feat(web/menu): add description support on list items
This commit is contained in:
1 parent
b354e0836c
commit
1127108fcd
5 files changed
+20
-6
No files matched your search
@@ -6,7 +6,7 @@ type ChangeFunction = (selected: number, scrollIndex: number | null, args: any |
|
||||
interface MenuOptions {
|
||||
label: string;
|
||||
icon?: IconName | [IconPrefix, IconName];
|
||||
values?: string[];
|
||||
values?: Array<string | { label: string; description: string }>;
|
||||
description?: string;
|
||||
defaultIndex?: number;
|
||||
args?: any;
|
||||
|
||||
Reference in new issue
Block a user