You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
353 B
22 lines
353 B
9 years ago
|
# 各种大小
|
||
|
|
||
|
- order: 1
|
||
|
|
||
|
小的用于文本加载,默认用于卡片容器级加载,大的用于**页面级**加载。
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
import { Spin } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<Spin size="small" />
|
||
|
<br />
|
||
|
<Spin />
|
||
|
<br />
|
||
|
<Spin size="large" />
|
||
|
</div>
|
||
|
, document.getElementById('components-spin-demo-size'));
|
||
|
````
|