mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 20:08:43 +08:00
28 lines
350 B
Markdown
28 lines
350 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';
|
|
|
|
ReactDOM.render(
|
|
<Card style={{ width: 300 }}>
|
|
<p>Card content</p>
|
|
<p>Card content</p>
|
|
<p>Card content</p>
|
|
</Card>,
|
|
mountNode,
|
|
);
|
|
```
|