import React, { useState } from 'react'; import { Button, Drawer, theme } from 'antd'; const App: React.FC = () => { const { token } = theme.useToken(); const [open, setOpen] = useState(false); const showDrawer = () => { setOpen(true); }; const onClose = () => { setOpen(false); }; const containerStyle: React.CSSProperties = { position: 'relative', height: 200, padding: 48, overflow: 'hidden', textAlign: 'center', background: token.colorFillAlter, border: `1px solid ${token.colorBorderSecondary}`, borderRadius: token.borderRadiusLG, }; return (
Some contents...