--- order: 4 title: zh-CN: 信息预览抽屉 en-US: Preview drawer --- ## zh-CN 需要快速预览对象概要时使用,点击遮罩区关闭。 ## en-US Use Drawer to quickly preview details of an object, such as those in a list. ```jsx import { Drawer, List, Avatar, Divider, Col, Row } from 'antd'; const pStyle = { fontSize: 16, color: 'rgba(0,0,0,0.85)', lineHeight: '24px', display: 'block', marginBottom: 16, }; const DescriptionItem = ({ title, content }) => (
{title}:
{content}User Profile
Personal
Company
Contacts