simple.md 492 Bytes
Newer Older
1 2 3 4 5 6 7 8
---
order: 3
title: Simple
---

简单的页头。

````jsx
nikogu's avatar
nikogu committed
9
import PageHeader from 'ant-design-pro/lib/PageHeader';
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

const breadcrumbList = [{
  title: '一级菜单',
  href: '/',
}, {
  title: '二级菜单',
  href: '/',
}, {
  title: '三级菜单',
}];

ReactDOM.render(
  <div>
    <PageHeader title="页面标题" breadcrumbList={breadcrumbList} />
  </div>
, mountNode);
````
ddcat1115's avatar
ddcat1115 committed
27 28 29 30 31 32

<style>
#scaffold-src-components-PageHeader-demo-simple .code-box-demo {
  background: #f2f4f5;
}
</style>