ant-design/components/badge/demo/99plus.md
2015-10-20 16:47:55 +08:00

349 B

大数字

  • order: 1

超过 99 的会显示为 99+


var Badge = antd.Badge;

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