mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +08:00
17 lines
332 B
TypeScript
17 lines
332 B
TypeScript
|
import React from 'react';
|
||
|
import { NotificationOutlined } from '@ant-design/icons';
|
||
|
import { Badge } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Badge dot>
|
||
|
<NotificationOutlined style={{ fontSize: 16 }} />
|
||
|
</Badge>
|
||
|
<Badge dot>
|
||
|
<a href="#">Link something</a>
|
||
|
</Badge>
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|