Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Menu/MenuContext.d.ts

raw
1 /// <reference types="react" />
2 export declare const MenuContext: import("react").Context<{
3 menuId?: string;
4 parentMenu?: string;
5 onSelect?: (event?: any, itemId?: any) => void;
6 onActionClick?: (event?: any, itemId?: any, actionId?: any) => void;
7 activeItemId?: any;
8 selected?: any | any[];
9 drilldownItemPath?: string[];
10 drilledInMenus?: string[];
11 onDrillIn?: (event: React.KeyboardEvent | React.MouseEvent, fromItemId: string, toItemId: string, itemId: string) => void;
12 onDrillOut?: (event: React.KeyboardEvent | React.MouseEvent, toItemId: string, itemId: string) => void;
13 onGetMenuHeight?: (menuId: string, height: number) => void;
14 flyoutRef?: React.Ref<HTMLLIElement>;
15 setFlyoutRef?: (ref: React.Ref<HTMLLIElement>) => void;
16 disableHover?: boolean;
17 role?: string;
18 }>;
19 export declare const MenuItemContext: import("react").Context<{
20 itemId?: any;
21 isDisabled?: boolean;
22 }>;
23 //# sourceMappingURL=MenuContext.d.ts.map