--- order: 4 title: zh-CN: 组合示例 en-US: Complete example --- ## zh-CN 使用了 PageHeader 提供的所有能力。 ## en-US Show all props provided by PageHeader. ```jsx import { PageHeader, Menu, Dropdown, Button, Tag, Typography, Row } from 'antd'; import { MoreOutlined } from '@ant-design/icons'; const { Paragraph } = Typography; const menu = ( 1st menu item ), }, { label: ( 2nd menu item ), }, { label: ( 3rd menu item ), }, ]} /> ); const DropdownMenu = () => ( , , , , ]} avatar={{ src: 'https://avatars1.githubusercontent.com/u/8186664?s=460&v=4' }} breadcrumb={{ routes }} > } > {content} ); ``` ```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; } } ```