ant-design/components/spin/demo/size.md
2018-06-27 16:09:58 +08:00

519 B

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

zh-CN

小的用于文本加载,默认用于卡片容器级加载,大的用于页面级加载。

en-US

A small Spin use in loading text, default Spin use in loading card-level block, and large Spin use in loading page.

import { Spin } from 'antd';

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