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

19 lines
328 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 0
title: 典型卡片
---
2016-02-19 19:35:49 +08:00
包含标题、内容、操作区域。
````jsx
import { Card } from 'antd';
2016-02-20 16:40:18 +08:00
ReactDOM.render(
<Card title="卡片标题" extra={<a href="#">更多</a>} style={{ width: 300 }}>
2016-04-10 15:38:52 +08:00
<p>卡片的内容</p>
<p>卡片的内容</p>
<p>卡片的内容</p>
2016-02-20 16:40:18 +08:00
</Card>
, mountNode);
2016-02-19 19:35:49 +08:00
````