mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
550 B
550 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
小的用于文本加载,默认用于卡片容器级加载,大的用于页面级加载。
en-US
A small Spin
is used for loading text, default sized Spin
for loading a card-level block, and large Spin
used for loading a page.
import { Space, Spin } from 'antd';
import React from 'react';
const App: React.FC = () => (
<Space size="middle">
<Spin size="small" />
<Spin />
<Spin size="large" />
</Space>
);
export default App;