Browse Source

update card demo jsx format

pull/12003/head
afc163 6 years ago
parent
commit
fecb3b6914
  1. 6
      components/card/demo/basic.md

6
components/card/demo/basic.md

@ -17,7 +17,11 @@ A basic card containing a title, content and an extra corner content.
import { Card } from 'antd';
ReactDOM.render(
<Card title="Card title" extra={<a href="#">More</a>} style={{ width: 300 }}>
<Card
title="Card title"
extra={<a href="#">More</a>}
style={{ width: 300 }}
>
<p>Card content</p>
<p>Card content</p>
<p>Card content</p>

Loading…
Cancel
Save