import { DownOutlined } from '@ant-design/icons'; import type { MenuProps } from 'antd'; import { Dropdown, Menu, message, Space } from 'antd'; import React from 'react'; const onClick: MenuProps['onClick'] = ({ key }) => { message.info(`Click on item ${key}`); }; const menu = ( ); const App: React.FC = () => ( e.preventDefault()}> Hover me, Click menu item ); export default App;