ant-design/components/spin/demo/size.md

21 lines
315 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 1
title: 各种大小
---
2015-10-31 02:00:03 +08:00
小的用于文本加载,默认用于卡片容器级加载,大的用于**页面级**加载。
````jsx
import { Spin } from 'antd';
ReactDOM.render(
<div>
<Spin size="small" />
<br />
<Spin />
<br />
<Spin size="large" />
</div>
, mountNode);
2015-10-31 02:00:03 +08:00
````