mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-06 05:58:46 +08:00
469 B
469 B
order | debug | title | ||||
---|---|---|---|---|---|---|
99 | true |
|
zh-CN
测试 Badge 的样式。
en-US
Test Badge style.
import { Radio, Badge } from 'antd';
ReactDOM.render(
<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>,
mountNode,
);