1 | import * as React from 'react';
|
2 | import { MentionsContextProps } from './MentionsContext';
|
3 | import { OptionProps } from './Option';
|
4 | interface DropdownMenuProps {
|
5 | prefixCls?: string;
|
6 | options: OptionProps[];
|
7 | }
|
8 | /**
|
9 | * We only use Menu to display the candidate.
|
10 | * The focus is controlled by textarea to make accessibility easy.
|
11 | */
|
12 | declare class DropdownMenu extends React.Component<DropdownMenuProps, {}> {
|
13 | renderDropdown: ({ notFoundContent, activeIndex, setActiveIndex, selectOption, onFocus, onBlur, }: MentionsContextProps) => JSX.Element;
|
14 | render(): JSX.Element;
|
15 | }
|
16 | export default DropdownMenu;
|