You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

717 B

order title
3 [{zh-CN 带面包屑页头} {en-US Use with breadcrumbs}]

zh-CN

带面包屑页头,适合层级比较深的页面,让用户可以快速导航。

en-US

With breadcrumbs, it is suitable for deeper pages, allowing users to navigate quickly.

import { PageHeader } from 'antd';

const routes = [
  {
    path: 'index',
    breadcrumbName: 'First-level Menu',
  },
  {
    path: 'first',
    breadcrumbName: 'Second-level Menu',
  },
  {
    path: 'second',
    breadcrumbName: 'Third-level Menu',
  },
];

ReactDOM.render(
  <PageHeader
    className="site-page-header"
    title="Title"
    breadcrumb={{ routes }}
    subTitle="This is a subtitle"
  />,
  mountNode,
);