import React, { useState } from 'react';
import { Avatar, Col, Divider, Drawer, List, Row } from 'antd';
interface DescriptionItemProps {
title: string;
content: React.ReactNode;
}
const DescriptionItem = ({ title, content }: DescriptionItemProps) => (
);
const App: React.FC = () => {
const [open, setOpen] = useState(false);
const showDrawer = () => {
setOpen(true);
};
const onClose = () => {
setOpen(false);
};
return (
<>
(
View Profile
,
]}
>
}
title={{item.name}}
description="Progresser XTech"
/>
)}
/>
User Profile
Personal
Company
Lin} />
Contacts
github.com/ant-design/ant-design/
}
/>
>
);
};
export default App;