mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
308 B
308 B
封顶数字
- order: 6
超过 overflowCount
的会显示为 ${overflowCount}+
。
import { Badge } from 'antd';
ReactDOM.render(<Badge count={99} overflowCount={10}>
<a href="#" className="head-example"></a>
</Badge>, document.getElementById('components-badge-demo-overflow'));