mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
11 lines
212 B
TypeScript
11 lines
212 B
TypeScript
|
import React from 'react';
|
||
|
import { Avatar, Badge } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Badge count={5} offset={[10, 10]}>
|
||
|
<Avatar shape="square" size="large" />
|
||
|
</Badge>
|
||
|
);
|
||
|
|
||
|
export default App;
|