ant-design/components/page-header/demo/basic.md
陈帅 338018eba3
feat: Pageheader new style and props (#19100)
* pure page header style

* add type props

* add prue demo

* add config provider doc

* fix lint

* fix lint error

* change pure to ghost

* fix test

* default ghost is true

* fix review style

* fix review warning

* use online style

* remove defualt and remove comment

* add test
2019-10-15 11:46:12 +08:00

31 lines
480 B
Markdown

---
order: 1
title:
zh-CN: 标准样式
en-US: Basic Page Header
---
## zh-CN
标准页头,适合使用在需要简单描述的场景。
## en-US
Standard header, suitable for use in scenarios that require a brief description.
```jsx
import { PageHeader } from 'antd';
ReactDOM.render(
<PageHeader
style={{
border: '1px solid rgb(235, 237, 240)',
}}
onBack={() => null}
title="Title"
subTitle="This is a subtitle"
/>,
mountNode,
);
```