mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
13 lines
222 B
TypeScript
13 lines
222 B
TypeScript
|
import React from 'react';
|
||
|
import { Avatar, Badge } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<a href="#">
|
||
|
<Badge count={5}>
|
||
|
<Avatar shape="square" size="large" />
|
||
|
</Badge>
|
||
|
</a>
|
||
|
);
|
||
|
|
||
|
export default App;
|