ant-design/components/typography/demo/title.md
xrkffgg 672066ccae
feat: add Typography.Title level 5 (#25861)
* feat: add Typography.Title level 5

* fix test
2020-07-28 20:39:43 +08:00

32 lines
492 B
Markdown

---
order: 1
title:
zh-CN: 标题组件
en-US: Title Component
---
## zh-CN
展示不同级别的标题。
## en-US
Display title in different level.
```jsx
import { Typography } from 'antd';
const { Title } = Typography;
ReactDOM.render(
<>
<Title>h1. Ant Design</Title>
<Title level={2}>h2. Ant Design</Title>
<Title level={3}>h3. Ant Design</Title>
<Title level={4}>h4. Ant Design</Title>
<Title level={5}>h5. Ant Design</Title>
</>,
mountNode,
);
```