ant-design/components/badge/demo/overflow.md
2015-12-22 14:34:31 +08:00

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'));