1 | import * as React from 'react';
|
2 | export const MenuContext = React.createContext({
|
3 | menuId: null,
|
4 | parentMenu: null,
|
5 | onActionClick: () => null,
|
6 | onSelect: () => null,
|
7 | activeItemId: null,
|
8 | selected: null,
|
9 | drilledInMenus: [],
|
10 | drilldownItemPath: [],
|
11 | onDrillIn: null,
|
12 | onDrillOut: null,
|
13 | onGetMenuHeight: () => null,
|
14 | flyoutRef: null,
|
15 | setFlyoutRef: () => null,
|
16 | disableHover: false
|
17 | });
|
18 | export const MenuItemContext = React.createContext({
|
19 | itemId: null,
|
20 | isDisabled: false
|
21 | });
|
22 |
|
\ | No newline at end of file |