mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 15:49:10 +08:00
624 B
624 B
order | title | debug | ||||
---|---|---|---|---|---|---|
100 |
|
true |
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,
);