You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

522 B

order title debug
100 [{zh-CN 自定义标题} {en-US Title}] true

zh-CN

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

en-US

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

import { Badge, Avatar } from 'antd';

ReactDOM.render(
  <>
    <Badge count={5} title="Custom hover text">
      <Avatar shape="square" size="large" />
    </Badge>
    <Badge count={-5} title="Negative">
      <Avatar shape="square" size="large" />
    </Badge>
  </>,
  mountNode,
);