You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
379 B

# 封顶数字
- order: 6
超过 `overflowCount` 的会显示为 `${overflowCount}+`
---
````jsx
import { Badge } from 'antd';
ReactDOM.render(<div>
<Badge count={99} overflowCount={10}>
<a href="#" className="head-example"></a>
</Badge>
<Badge count={1000} overflowCount={999}>
<a href="#" className="head-example"></a>
</Badge>
</div>, mountNode);
````