1 | import * as React from "react";
|
2 | import { AbstractPureComponent } from "../../common";
|
3 | import { Props } from "../../common/props";
|
4 | export interface MenuProps extends Props, React.HTMLAttributes<HTMLUListElement> {
|
5 | /** Menu items. */
|
6 | children?: React.ReactNode;
|
7 | /** Whether the menu items in this menu should use a large appearance. */
|
8 | large?: boolean;
|
9 | /** Whether the menu items in this menu should use a small appearance. */
|
10 | small?: boolean;
|
11 | /** Ref handler that receives the HTML `<ul>` element backing this component. */
|
12 | ulRef?: React.Ref<HTMLUListElement>;
|
13 | }
|
14 | /**
|
15 | * Menu component.
|
16 | *
|
17 | * @see https://blueprintjs.com/docs/#core/components/menu
|
18 | */
|
19 | export declare class Menu extends AbstractPureComponent<MenuProps> {
|
20 | static displayName: string;
|
21 | render(): JSX.Element;
|
22 | }
|