import React, { useState } from 'react'; import { Switch, Space, Drawer, Modal } 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 (