mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
25 lines
379 B
Markdown
25 lines
379 B
Markdown
---
|
|
order: 5
|
|
title:
|
|
zh-CN: 预加载的卡片
|
|
en-US: Loading card
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
数据读入前会有文本块样式。
|
|
|
|
## en-US
|
|
|
|
Shows a loading indicator while the contents of the card are being fetched.
|
|
|
|
````jsx
|
|
import { Card } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Card loading title="Card title" style={{ width: '34%' }}>
|
|
Whatever content
|
|
</Card>
|
|
, mountNode);
|
|
````
|