mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-18 01:58:36 +00:00
feat(nui): Context menu sub menus
This commit is contained in:
1 parent
edce4b4a82
commit
a7dd713b6b
3 files changed
+82
-37
No files matched your search
@@ -1,9 +1,15 @@
|
||||
export interface Option {
|
||||
menu?: string;
|
||||
description?: string;
|
||||
metadata?: string[] | { [key: string]: any };
|
||||
subMenu?: boolean;
|
||||
}
|
||||
|
||||
export interface Options {
|
||||
[key: string]: Option;
|
||||
}
|
||||
|
||||
export interface ContextMenuProps {
|
||||
title: string;
|
||||
menu?: string;
|
||||
options: Options;
|
||||
}
|
||||
Reference in new issue
Block a user