UNPKG

react-tooltip-z

Version:

Lightweight, customizable React tooltip component with hover, click, focus and manual trigger support.

9 lines (8 loc) 307 B
import { ReactNode } from "react"; interface Props { children: ReactNode; tagName?: keyof JSX.IntrinsicElements; appendProps: (index: number) => Record<string, any>; } declare function TooltipTarget({ children, tagName, appendProps, }: Props): JSX.Element; export default TooltipTarget;