mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
21 lines
434 B
TypeScript
21 lines
434 B
TypeScript
|
import React from 'react';
|
||
|
import { Card } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Card title="Card title">
|
||
|
<Card type="inner" title="Inner Card title" extra={<a href="#">More</a>}>
|
||
|
Inner Card content
|
||
|
</Card>
|
||
|
<Card
|
||
|
style={{ marginTop: 16 }}
|
||
|
type="inner"
|
||
|
title="Inner Card title"
|
||
|
extra={<a href="#">More</a>}
|
||
|
>
|
||
|
Inner Card content
|
||
|
</Card>
|
||
|
</Card>
|
||
|
);
|
||
|
|
||
|
export default App;
|