import React from 'react'; import { DownOutlined } from '@ant-design/icons'; import type { MenuProps } from 'antd'; import { Dropdown, Space, Divider, Button } from 'antd'; const items: MenuProps['items'] = [ { key: '1', label: ( 1st menu item ), }, { key: '2', label: ( 2nd menu item (disabled) ), disabled: true, }, { key: '3', label: ( 3rd menu item (disabled) ), disabled: true, }, ]; const App: React.FC = () => ( (
{menu}
)} > e.preventDefault()}> Hover me
); export default App;