amis-rpc-design/node_modules/rc-mentions/es/DropdownMenu.d.ts
2023-10-07 19:42:30 +08:00

13 lines
409 B
TypeScript

import * as React from 'react';
import type { DataDrivenOptionProps } from './Mentions';
interface DropdownMenuProps {
prefixCls?: string;
options: DataDrivenOptionProps[];
}
/**
* We only use Menu to display the candidate.
* The focus is controlled by textarea to make accessibility easy.
*/
declare function DropdownMenu(props: DropdownMenuProps): React.JSX.Element;
export default DropdownMenu;