mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
27 lines
495 B
Markdown
27 lines
495 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';
|
|
|
|
export default () => (
|
|
<Space size="middle">
|
|
<Spin size="small" />
|
|
<Spin />
|
|
<Spin size="large" />
|
|
</Space>
|
|
);
|
|
```
|