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.

25 lines
378 B

---
order: 5
title:
zh-CN: 预加载的卡片
en-US: Loading card
---
9 years ago
## zh-CN
9 years ago
数据读入前会有文本块样式。
## en-US
Shows a loading indicator while the contents of the card is being fetched.
````jsx
9 years ago
import { Card } from 'antd';
ReactDOM.render(
<Card loading title="Card title" style={{ width: '34%' }}>
Whatever content
</Card>
, mountNode);
9 years ago
````