UNPKG

706 BTypeScriptView Raw
1import * as React from "react";
2import { AbstractPureComponent2, IRef } from "../../common";
3import { Props } from "../../common/props";
4export declare type MenuProps = IMenuProps;
5/** @deprecated use MenuProps */
6export interface IMenuProps extends Props, React.HTMLAttributes<HTMLUListElement> {
7 /** Menu items. */
8 children?: React.ReactNode;
9 /** Whether the menu items in this menu should use a large appearance. */
10 large?: boolean;
11 /** Ref handler that receives the HTML `<ul>` element backing this component. */
12 ulRef?: IRef<HTMLUListElement>;
13}
14export declare class Menu extends AbstractPureComponent2<MenuProps> {
15 static displayName: string;
16 render(): JSX.Element;
17}