mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 20:08:37 +08:00
21 lines
355 B
Markdown
21 lines
355 B
Markdown
# 大数字
|
|
|
|
- order: 1
|
|
|
|
超过 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>, document.getElementById('components-badge-demo-99plus'));
|
|
````
|