2016-03-31 09:40:55 +08:00
|
|
|
---
|
2016-04-10 15:38:52 +08:00
|
|
|
order: 2
|
2016-05-26 17:46:55 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 简洁卡片
|
|
|
|
en-US: Simple card
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2016-02-20 16:40:18 +08:00
|
|
|
|
2016-05-26 17:46:55 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2016-02-20 16:40:18 +08:00
|
|
|
只包含内容区域。
|
|
|
|
|
2016-05-26 17:46:55 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
A simple card only containing a content area.
|
|
|
|
|
2019-05-07 14:57:32 +08:00
|
|
|
```jsx
|
2016-02-20 16:40:18 +08:00
|
|
|
import { Card } from 'antd';
|
|
|
|
|
2022-04-03 23:27:45 +08:00
|
|
|
export default () => (
|
2016-02-20 16:40:18 +08:00
|
|
|
<Card style={{ width: 300 }}>
|
2016-05-26 17:46:55 +08:00
|
|
|
<p>Card content</p>
|
|
|
|
<p>Card content</p>
|
|
|
|
<p>Card content</p>
|
2022-04-03 23:27:45 +08:00
|
|
|
</Card>
|
2018-11-28 15:00:03 +08:00
|
|
|
);
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|