ant-design/components/badge/demo/99plus.md
2016-04-01 10:08:19 +08:00

20 lines
314 B
Markdown

---
order: 1
title: 大数字
---
超过 99 的会显示为 `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);
````