--- order: 4 title: zh-CN: 组合示例 en-US: Complete example --- ## zh-CN 使用了 pageHeader 提供的所有能力。 ## en-US Show all props.Used all the capabilities provided by pageHeader. ```jsx import { PageHeader, Menu, Dropdown, Button, Tag, Typography, Row } from 'antd'; import { EllipsisOutlined } from '@ant-design/icons'; const { Paragraph } = Typography; const menu = ( 1st menu item 2nd menu item 3rd menu item ); const DropdownMenu = () => { return ( ); }; const routes = [ { path: 'index', breadcrumbName: 'First-level Menu', }, { path: 'first', breadcrumbName: 'Second-level Menu', }, { path: 'second', breadcrumbName: 'Third-level Menu', }, ]; const IconLink = ({ src, text }) => ( start {text} ); const content = (
Ant Design interprets the color system into two levels: a system-level color system and a product-level color system. Ant Design's design team preferred to design with the HSB color model, which makes it easier for designers to have a clear psychological expectation of color when adjusting colors, as well as facilitate communication in teams.
); const Content = ({ children, extraContent }) => { return (
{children}
{extraContent}
); }; ReactDOM.render( Running} extra={[ , , , , ]} avatar={{ src: 'https://avatars1.githubusercontent.com/u/8186664?s=460&v=4' }} breadcrumb={{ routes }} > } > {content} , mountNode, ); ```