antd#TooltipProps TypeScript Examples

The following examples show how to use antd#TooltipProps. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.tsx    From next-basics with GNU General Public License v3.0 6 votes vote down vote up
/**
   * @kind object
   * @required false
   * @default -
   * @description 标签的 tooltip 相关配置项, [具体查阅](https://ant.design/components/tooltip-cn/#API)
   * @group advanced
   */
  @property({
    attribute: false,
  })
  tooltipProps: TooltipProps;
Example #2
Source File: index.tsx    From tailchat with GNU General Public License v3.0 5 votes vote down vote up
DelayTip: React.FC<TooltipProps> = React.memo((props) => {
  return (
    <Tooltip mouseEnterDelay={1} {...props}>
      {props.children}
    </Tooltip>
  );
})