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.
|
|
|
---
|
|
|
|
order: 1
|
|
|
|
title: 各种大小
|
|
|
|
---
|
|
|
|
|
|
|
|
小的用于文本加载,默认用于卡片容器级加载,大的用于**页面级**加载。
|
|
|
|
|
|
|
|
````jsx
|
|
|
|
import { Spin } from 'antd';
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<div>
|
|
|
|
<Spin size="small" />
|
|
|
|
<br />
|
|
|
|
<Spin />
|
|
|
|
<br />
|
|
|
|
<Spin size="large" />
|
|
|
|
</div>
|
|
|
|
, mountNode);
|
|
|
|
````
|