You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
order: 2
|
|
|
|
title: 简洁卡片
|
|
|
|
---
|
|
|
|
|
|
|
|
只包含内容区域。
|
|
|
|
|
|
|
|
````jsx
|
|
|
|
import { Card } from 'antd';
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<Card style={{ width: 300 }}>
|
|
|
|
<p>卡片的内容</p>
|
|
|
|
<p>卡片的内容</p>
|
|
|
|
<p>卡片的内容</p>
|
|
|
|
</Card>
|
|
|
|
, mountNode);
|
|
|
|
````
|