UNPKG

rc-tc-ifn

Version:

React simple. Truncate text and tooltip if need (Hooks)

14 lines (13 loc) 547 B
import React from "react"; import { IFTooltipProps } from "react-tooltip-z"; declare type TOmitProps = "trigger" | "shareContext" | "open" | "showSync" | "handleClick" | "handleMouseEnter" | "handleMouseLeave"; export interface IFTooltipIfnProps extends Omit<IFTooltipProps, TOmitProps> { id?: string; className?: string; wrapWidth?: string | number; tagTruncate?: string; truncateClassName?: string; width?: string | number; } declare const TooltipIfn: React.FC<IFTooltipIfnProps>; export default TooltipIfn;