ant-design/components/badge/demo/title.md
2018-11-28 15:11:02 +08:00

608 B

order title
7
zh-CN en-US
自定义标题 Title

zh-CN

设置鼠标放在状态点上时显示的文字

en-US

The badge will display title when hovered over, instead of count.

import { Badge } from 'antd';

ReactDOM.render(
  <div>
    <Badge count={5} title="Custom hover text">
      <a href="#" className="head-example" />
    </Badge>
  </div>,
  mountNode
);