UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

22 lines 852 B
import * as React from 'react'; export declare const MenuContext: 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?: (fromItemId: string, toItemId: string, itemId: string) => void; onDrillOut?: (toItemId: string, itemId: string) => void; onGetMenuHeight?: (menuId: string, height: number) => void; flyoutRef?: React.Ref<HTMLLIElement>; setFlyoutRef?: (ref: React.Ref<HTMLLIElement>) => void; disableHover?: boolean; }>; export declare const MenuItemContext: React.Context<{ itemId?: any; isDisabled?: boolean; }>; //# sourceMappingURL=MenuContext.d.ts.map