ant-design/components/card/demo/loading.md
2017-01-19 15:22:53 +08:00

382 B

order title
5
zh-CN en-US
预加载的卡片 Loading card

zh-CN

数据读入前会有文本块样式。

en-US

Shows a loading indicator while the contents of the card is being fetched.

import { Card } from 'antd';

ReactDOM.render(
  <Card loading title="Card title" style={{ width: '34%' }}>
    Whatever content
  </Card>
, mountNode);