2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 1
|
2016-07-21 09:51:04 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 各种大小
|
|
|
|
en-US: Size
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-10-31 02:00:03 +08:00
|
|
|
|
2016-07-21 09:51:04 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-10-31 02:00:03 +08:00
|
|
|
小的用于文本加载,默认用于卡片容器级加载,大的用于**页面级**加载。
|
|
|
|
|
2016-07-21 09:51:04 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
A small `Spin` use in loading text, default `Spin` use in loading card-level block, and large `Spin` use in loading **page**.
|
|
|
|
|
2017-02-13 10:55:53 +08:00
|
|
|
````jsx
|
2015-10-31 02:00:03 +08:00
|
|
|
import { Spin } from 'antd';
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<div>
|
|
|
|
<Spin size="small" />
|
|
|
|
<Spin />
|
|
|
|
<Spin size="large" />
|
|
|
|
</div>
|
2015-12-29 12:08:58 +08:00
|
|
|
, mountNode);
|
2015-10-31 02:00:03 +08:00
|
|
|
````
|
2016-06-18 15:43:42 +08:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.ant-spin {
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
</style>
|