mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
348 B
348 B
order | title |
---|---|
2 | 容器 |
放入一个容器中。
import { Spin } from 'antd';
ReactDOM.render(
<div className="example">
<Spin />
</div>
, mountNode);
.example {
text-align: center;
background: rgba(0,0,0,0.05);
border-radius: 4px;
margin-bottom: 20px;
padding: 30px 50px;
margin: 20px 0;
}