import React, { useState } from 'react'; import { CopyOutlined, DownloadOutlined, SettingOutlined } from '@ant-design/icons'; import { Button, Cascader, DatePicker, Divider, Drawer, Dropdown, Input, InputNumber, Modal, Popover, Select, Space, Tooltip, } from 'antd'; const { Option } = Select; const selectBefore = ( ); const selectAfter = ( ); const App: React.FC = () => { const [showModal, setShowModal] = useState(false); const [showDrawer, setShowDrawer] = useState(false); return ( } /> } defaultValue="mysite" /> } />
{showModal && ( setShowModal(false)}>



)}
menu button, }, { key: '2', label: 'normal menu item', }, ], }} > debug Dropdown.Button context {showDrawer && ( setShowDrawer(false)} open={showDrawer} >

)}
); }; export default App;