Benjy Cui
9 years ago
1 changed files with 15 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||
# 封顶数字 |
|||
|
|||
- order: 6 |
|||
|
|||
超过 `overflowCount` 的会显示为 `${overflowCount}+`。 |
|||
|
|||
--- |
|||
|
|||
````jsx |
|||
import { Badge } from 'antd'; |
|||
|
|||
ReactDOM.render(<Badge count={99} overflowCount={10}> |
|||
<a href="#" className="head-example"></a> |
|||
</Badge>, document.getElementById('components-badge-demo-overflow')); |
|||
```` |
Loading…
Reference in new issue