mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
|
import React from 'react';
|
||
|
import { Card } from 'antd';
|
||
|
|
||
|
const { Meta } = Card;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<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>
|
||
|
);
|
||
|
|
||
|
export default App;
|