import React, { useState } from 'react'; import { SettingOutlined, CopyOutlined, DownloadOutlined } from '@ant-design/icons'; import { Cascader, Input, Select, Space, Button, Tooltip, Modal, Dropdown, Drawer, InputNumber, DatePicker, } 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;