File: MenuContext.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (23 lines) | stat: -rw-r--r-- 985 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/// <reference types="react" />
export declare const MenuContext: import("react").Context<{
    menuId?: string;
    parentMenu?: string;
    onSelect?: (event?: any, itemId?: any) => void;
    onActionClick?: (event?: any, itemId?: any, actionId?: any) => void;
    activeItemId?: any;
    selected?: any | any[];
    drilldownItemPath?: string[];
    drilledInMenus?: string[];
    onDrillIn?: (event: React.KeyboardEvent | React.MouseEvent, fromItemId: string, toItemId: string, itemId: string) => void;
    onDrillOut?: (event: React.KeyboardEvent | React.MouseEvent, toItemId: string, itemId: string) => void;
    onGetMenuHeight?: (menuId: string, height: number) => void;
    flyoutRef?: React.Ref<HTMLLIElement>;
    setFlyoutRef?: (ref: React.Ref<HTMLLIElement>) => void;
    disableHover?: boolean;
    role?: string;
}>;
export declare const MenuItemContext: import("react").Context<{
    itemId?: any;
    isDisabled?: boolean;
}>;
//# sourceMappingURL=MenuContext.d.ts.map