mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
28 lines
421 B
Markdown
28 lines
421 B
Markdown
---
|
|
order: 1
|
|
title:
|
|
zh-CN: 大数字
|
|
en-US: Overflowed count
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
超过 99 的会显示为 `99+`。
|
|
|
|
## en-US
|
|
|
|
`99+` is displayed when count is larger than `99`.
|
|
|
|
````jsx
|
|
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);
|
|
````
|