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