mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
314 B
314 B
order | title |
---|---|
1 | 大数字 |
超过 99 的会显示为 99+
。
import { Badge } from 'antd';
ReactDOM.render(<div>
<Badge count={99}>
<a href="#" className="head-example"></a>
</Badge>
<Badge count={200}>
<a href="#" className="head-example"></a>
</Badge>
</div>, mountNode);