mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 13:37:52 +08:00
27 lines
350 B
Markdown
27 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);
|
|
````
|