ant-design/components/spin/demo/size.md
zefeng d0f81decbb
fix: fix menu and spin style in compact mode (#22908)
* fix: fix menu and spin style in compact mode

* patch
2020-04-05 12:04:22 +08:00

550 B

order title
1
zh-CN en-US
各种大小 Size

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 { Spin } from 'antd';

ReactDOM.render(
  <div>
    <Spin size="small" />
    <Spin />
    <Spin size="large" />
  </div>,
  mountNode,
);