mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 22:39:34 +08:00
338018eba3
* 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
480 B
480 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
标准页头,适合使用在需要简单描述的场景。
en-US
Standard header, suitable for use in scenarios that require a brief description.
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,
);