UNPKG

qt-public-ui

Version:

新设计规范下业务组件库

21 lines (15 loc) 637 B
## autoAddTooltip 自动显示tooltips方法 | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | contentFunc | ref绑定容器函数 | Funcation | [ContentFunc] | | tooltipProps | 默认日期配置 | [exTooltipProps] | - | #### ContentFunc 函数类型:<br> type ContentFunc = (ref: RefObject<HTMLElement>, extra:{ wrapperStyle: CSSProperties, wrapperClassName: string }) => ReactElement; #### exTooltipProps interface exTooltipProps { <br> &emsp; tooltipProps: TooltipProps; // Antd Tooltip <br> &emsp; type: 'singleLine' | 'multipleLines'; // 单行、多行 <br> &emsp; lines: number; // 行数 <br> }