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