feat(nui): Context menu sub menus

This commit is contained in:
Luke committed 2022-03-28 16:49:07 +02:00
1 parent edce4b4a82
commit a7dd713b6b
3 files changed
+82 -37

No files matched your search

+7 -1
View File
@@ -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;
}