mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +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;
|