mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
dcc0ffa016
* style: prettier code * update * Update index.less
504 B
504 B
order | title | ||||
---|---|---|---|---|---|
2 |
|
zh-CN
放入一个容器中。
en-US
Spin in a container.
import { Spin } from 'antd';
ReactDOM.render(
<div className="example">
<Spin />
</div>,
mountNode,
);
.example {
margin: 20px 0;
margin-bottom: 20px;
padding: 30px 50px;
text-align: center;
background: rgba(0, 0, 0, 0.05);
border-radius: 4px;
}