import React from 'react'; import type { MenuProps } from 'antd'; import { Button, Dropdown } from 'antd'; const items: MenuProps['items'] = [ { key: '1', label: ( 1st menu item ), }, { key: '2', label: ( 2nd menu item ), }, { key: '3', label: ( 3rd menu item ), }, ]; const App: React.FC = () => ( <>
); export default App;