ant-design/components/card/demo/loading.md

17 lines
251 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
2016-04-10 15:38:52 +08:00
order: 5
2016-03-31 09:40:55 +08:00
title: 预加载的卡片
---
2016-02-22 16:25:13 +08:00
数据读入前会有文本块样式。
````jsx
import { Card } from 'antd';
2016-04-10 15:38:52 +08:00
ReactDOM.render(
<Card loading title="卡片标题" style={{ width: 300 }}>
Whatever content
</Card>
, mountNode);
2016-02-22 16:25:13 +08:00
````