mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 06:58:33 +08:00
27 lines
349 B
Markdown
27 lines
349 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);
|
|
````
|