We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 140d037 commit ca9b383Copy full SHA for ca9b383
src/index.d.ts
@@ -43,6 +43,8 @@ declare module "react-contextmenu" {
43
export const MenuItem: React.ComponentClass<MenuItemProps>;
44
export const SubMenu: React.ComponentClass<SubMenuProps>;
45
export function connectMenu(menuId: string): (menu: any) => any;
46
+ export function showMenu(opts?: any, target?: HTMLElement): void;
47
+ export function hideMenu(opts?: any, target?: HTMLElement): void;
48
}
49
50
export = ReactContextmenu;
0 commit comments