import React from 'react'; import { Button, Drawer, Flex, Modal, Watermark } from 'antd'; const style: React.CSSProperties = { height: 300, display: 'flex', justifyContent: 'center', alignItems: 'center', backgroundColor: 'rgba(150, 150, 150, 0.2)', }; const placeholder =
A mock height
; const App: React.FC = () => { const [showModal, setShowModal] = React.useState(false); const [showDrawer, setShowDrawer] = React.useState(false); const [showDrawer2, setShowDrawer2] = React.useState(false); const closeModal = () => setShowModal(false); const closeDrawer = () => setShowDrawer(false); const closeDrawer2 = () => setShowDrawer2(false); return ( <> {placeholder} {placeholder} {placeholder} ); }; export default App;