mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
22 lines
505 B
TypeScript
22 lines
505 B
TypeScript
|
import React from 'react';
|
||
|
import { Card, Space } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space direction="vertical" size="middle" style={{ display: 'flex' }}>
|
||
|
<Card title="Card" size="small">
|
||
|
<p>Card content</p>
|
||
|
<p>Card content</p>
|
||
|
</Card>
|
||
|
<Card title="Card" size="small">
|
||
|
<p>Card content</p>
|
||
|
<p>Card content</p>
|
||
|
</Card>
|
||
|
<Card title="Card" size="small">
|
||
|
<p>Card content</p>
|
||
|
<p>Card content</p>
|
||
|
</Card>
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|