1 | import PropTypes from 'prop-types';
|
2 | import React, { HTMLProps, ReactNode, Ref } from 'react';
|
3 | export interface MenuProps extends HTMLProps<HTMLDivElement> {
|
4 | emptyLabel?: ReactNode;
|
5 | innerRef?: Ref<HTMLDivElement>;
|
6 | maxHeight?: string;
|
7 | }
|
8 | declare const Menu: {
|
9 | ({ emptyLabel, innerRef, maxHeight, style, ...props }: MenuProps): React.JSX.Element;
|
10 | propTypes: {
|
11 | 'aria-label': PropTypes.Requireable<string>;
|
12 | emptyLabel: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
13 | id: (props: import("../../types").TypeaheadProps, propName: keyof import("../../types").TypeaheadProps, componentName: string) => void;
|
14 | maxHeight: PropTypes.Requireable<string>;
|
15 | };
|
16 | Divider: () => React.JSX.Element;
|
17 | Header: (props: HTMLProps<HTMLDivElement>) => React.JSX.Element;
|
18 | };
|
19 | export default Menu;
|