mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 13:37:52 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
545 B
545 B
order | title | ||||
---|---|---|---|---|---|
3 |
|
zh-CN
可以利用 Card.Meta
支持更灵活的内容。
en-US
You can use Card.Meta
to support more flexible content.
import { Card } from 'antd';
const { Meta } = Card;
export default () => (
<Card
hoverable
style={{ width: 240 }}
cover={<img alt="example" src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png" />}
>
<Meta title="Europe Street beat" description="www.instagram.com" />
</Card>
);