mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +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;
|