test menu
This commit is contained in:
1 parent
c10c6f3661
commit
87a104eff8
5 files changed
+26
-10
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { BrowserView, Menu, app, shell, dialog, BrowserWindow, MenuItem } from 'electron';
|
||||
|
||||
export function initMenu () {
|
||||
const menu: Menu = new Menu();
|
||||
const menuItem: MenuItem = new MenuItem({
|
||||
label: "test",
|
||||
});
|
||||
menu.append(menuItem);
|
||||
Menu.setApplicationMenu(menu);
|
||||
}
|
||||
@@ -3,7 +3,7 @@ import GGEditor, { Mind, RegisterNode } from 'gg-editor';
|
||||
import { MindData } from 'gg-editor/lib/common/interfaces';
|
||||
const data: MindData = {
|
||||
id: "1",
|
||||
label: 'Central Topic',
|
||||
label: 'Central Topic111',
|
||||
children: [
|
||||
{
|
||||
id: "2",
|
||||
|
||||
Reference in new issue
Block a user