import React, { useState } from 'react'; import { Drawer, Modal, Space, Switch } from 'antd'; const App: React.FC = () => { const [drawer, setDrawer] = useState(false); const [drawer2, setDrawer2] = useState(false); const [modal, setModal] = useState(false); const [modal2, setModal2] = useState(false); return (