You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
610 B
17 lines
610 B
import * as React from 'react';
|
|
import { MentionsContextProps } from './MentionsContext';
|
|
import { OptionProps } from './Option';
|
|
interface DropdownMenuProps {
|
|
prefixCls?: string;
|
|
options: OptionProps[];
|
|
}
|
|
/**
|
|
* We only use Menu to display the candidate.
|
|
* The focus is controlled by textarea to make accessibility easy.
|
|
*/
|
|
declare class DropdownMenu extends React.Component<DropdownMenuProps, {}> {
|
|
renderDropdown: ({ notFoundContent, activeIndex, setActiveIndex, selectOption, onFocus, onBlur, }: MentionsContextProps) => JSX.Element;
|
|
render(): JSX.Element;
|
|
}
|
|
export default DropdownMenu;
|