MCPcopy Create free account
hub / github.com/esengine/esengine / handleMenuClick

Function handleMenuClick

packages/editor-app/src/components/TitleBar.tsx:235–237  ·  view source on GitHub ↗
(menuKey: string)

Source from the content-addressed store, hash-verified

233 }, []);
234
235 const handleMenuClick = (menuKey: string) => {
236 setOpenMenu(openMenu === menuKey ? null : menuKey);
237 };
238
239 const handleMenuItemClick = (item: MenuItem) => {
240 if (!item.disabled && !item.separator && item.onClick && item.label) {

Callers 1

TitleBarFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected