import * as React from 'react'; import { IUlElement } from '../../interfaces'; import { MenuItem } from './Item'; interface MenuProps extends IUlElement { /** * If true, horizontal display * @default false */ isNav?: boolean; /** * Callback function, when active item is changed */ onItemChange?: (e: any, active: any) => void; /** * Change Active Item with Function */ activeItem?: number; /** * Default index of active menu item */ defaultActiveKey?: number; /** * Additional classes */ className?: string; } interface MenuStates { activeItem?: number; } export declare class Menu extends React.PureComponent { static defaultProps: { isNav: boolean; }; static Item: typeof MenuItem; navRef: React.MutableRefObject; constructor(props: MenuProps); static getDerivedStateFromProps({ activeItem }: { activeItem: any; }, state: any): any[] | { activeItem: any; prevValue: any; }; handleArrowClick: (e: any, direction: any) => void; handleChange: (e: any, index: any) => void; setActiveItem: (index: any) => void; render(): JSX.Element; } export {};