You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
343 B

# 容器
- order: 2
放入一个容器中。
---
````jsx
import { Spin } from 'antd';
ReactDOM.render(
<div className="example">
<Spin />
</div>
, mountNode);
````
````css
.example {
text-align: center;
background: rgba(0,0,0,0.05);
border-radius: 4px;
margin-bottom: 20px;
padding: 30px 50px;
margin: 20px 0;
}
````