mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-11 10:05:07 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
27 lines
342 B
Markdown
27 lines
342 B
Markdown
---
|
|
order: 2
|
|
title:
|
|
zh-CN: 简洁卡片
|
|
en-US: Simple card
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
只包含内容区域。
|
|
|
|
## en-US
|
|
|
|
A simple card only containing a content area.
|
|
|
|
```jsx
|
|
import { Card } from 'antd';
|
|
|
|
export default () => (
|
|
<Card style={{ width: 300 }}>
|
|
<p>Card content</p>
|
|
<p>Card content</p>
|
|
<p>Card content</p>
|
|
</Card>
|
|
);
|
|
```
|