--- order: 4 title: zh-CN: 组合示例 en-US: Complete example --- ## zh-CN 使用了 PageHeader 提供的所有能力。 ## en-US Show all props provided by PageHeader. ```tsx import { MoreOutlined } from '@ant-design/icons'; import { Button, Dropdown, PageHeader, Row, Tag, Typography } from 'antd'; import React from 'react'; const { Paragraph } = Typography; const items = [ { key: '1', label: ( 1st menu item ), }, { key: '2', label: ( 2nd menu item ), }, { key: '3', label: ( 3rd menu item ), }, ]; const DropdownMenu = () => ( , , , , ]} avatar={{ src: 'https://avatars1.githubusercontent.com/u/8186664?s=460&v=4' }} breadcrumb={{ routes }} > } > {content} ); export default App; ``` ```css #components-page-header-demo-content .image { display: flex; align-items: center; margin: 0 0 0 60px; } #components-page-header-demo-content .ant-page-header-rtl .image { margin: 0 60px 0 0; } #components-page-header-demo-content .example-link { margin-right: 16px; line-height: 24px; } [data-theme='compact'] #components-page-header-demo-content .example-link { line-height: 20px; } #components-page-header-demo-content .example-link-icon { margin-right: 8px; } [data-theme='compact'] #components-page-header-demo-content .example-link-icon { width: 20px; height: 20px; } #components-page-header-demo-content .ant-page-header-rtl .example-link { float: right; margin-right: 0; margin-left: 16px; } #components-page-header-demo-content .ant-page-header-rtl .example-link-icon { margin-right: 0; margin-left: 8px; } @media (max-width: 768px) { #components-page-header-demo-content .image { flex: 100%; margin: 24px 0 0; } } ```