UNPKG

@wamra/gantt-task-react

Version:
25 lines (24 loc) 736 B
import React, { ComponentType } from "react"; import type { Strategy } from "@floating-ui/dom"; import type { Task } from "../../types/public-types"; export type TooltipProps = { tooltipX: number | null; tooltipY: number | null; tooltipStrategy: Strategy; setFloatingRef: (node: HTMLElement | null) => void; getFloatingProps: () => Record<string, unknown>; task: Task; fontSize: string; fontFamily: string; TooltipContent: ComponentType<{ task: Task; fontSize: string; fontFamily: string; }>; }; export declare const Tooltip: React.FC<TooltipProps>; export declare const StandardTooltipContent: React.FC<{ task: Task; fontSize: string; fontFamily: string; }>;