ant-design/components/spin/demo/size.md
xrkffgg 01b98e79d9
docs: optimize site of components 3 (#23779)
* docs: optimize site of components in rtl 3

* add
2020-04-30 21:04:19 +08:00

28 lines
503 B
Markdown

---
order: 1
title:
zh-CN: 各种大小
en-US: Size
---
## zh-CN
小的用于文本加载,默认用于卡片容器级加载,大的用于**页面级**加载。
## en-US
A small `Spin` is used for loading text, default sized `Spin` for loading a card-level block, and large `Spin` used for loading a **page**.
```jsx
import { Spin, Space } from 'antd';
ReactDOM.render(
<Space size="middle">
<Spin size="small" />
<Spin />
<Spin size="large" />
</Space>,
mountNode,
);
```