You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
16 lines
348 B
2 years ago
|
import React from 'react';
|
||
|
import { Badge, Radio } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Radio.Group buttonStyle="solid">
|
||
|
<Badge count={1}>
|
||
|
<Radio.Button value={1}>Click Me</Radio.Button>
|
||
|
</Badge>
|
||
|
<Badge count={2}>
|
||
|
<Radio.Button value={2}>Not Me</Radio.Button>
|
||
|
</Badge>
|
||
|
</Radio.Group>
|
||
|
);
|
||
|
|
||
|
export default App;
|