mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +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;
|