--- order: 0 title: zh-CN: 用户信息 en-US: User Profile --- ## zh-CN 展示用户的详细信息 ## en-US Display user details ```jsx import { Drawer, Divider, Button, 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 }) => { return (

{title}:

{content}
); }; class App extends React.Component { state = { visible: false }; showDrawer = () => { this.setState({ visible: !this.state.visible, }); }; onClose = () => { this.setState({ visible: false, }); }; render() { return (

User Profile

Personal

{' '}

Company

Lin} />

Contacts

github.com/ant-design/ant-design/ } />
); } } ReactDOM.render(, mountNode); ```