mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(nui): Context menu sub menus
This commit is contained in:
@@ -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