mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +08:00
353 B
353 B
各种大小
- order: 1
小的用于文本加载,默认用于卡片容器级加载,大的用于页面级加载。
import { Spin } from 'antd';
ReactDOM.render(
<div>
<Spin size="small" />
<br />
<Spin />
<br />
<Spin size="large" />
</div>
, document.getElementById('components-spin-demo-size'));