ant-design/components/badge/demo/99plus.md
2016-07-11 11:45:42 +08:00

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);
````