1 | import * as React from 'react';
|
2 | export declare const MenuContext: 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?: (fromItemId: string, toItemId: string, itemId: string) => void;
|
12 | onDrillOut?: (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 | }>;
|
18 | export declare const MenuItemContext: React.Context<{
|
19 | itemId?: any;
|
20 | isDisabled?: boolean;
|
21 | }>;
|
22 |
|
\ | No newline at end of file |