UNPKG

@wamra/gantt-task-react

Version:
23 lines (22 loc) 971 B
import React, { SyntheticEvent } from "react"; import type { RefObject } from "react"; import { GridProps } from "../grid/grid"; import { CalendarProps } from "../calendar/calendar"; import { TaskGanttContentProps } from "./task-gantt-content"; import { Distances, ColorStyles } from "../../types/public-types"; export type TaskGanttProps = { barProps: TaskGanttContentProps; calendarProps: CalendarProps; gridProps: GridProps; distances: Distances; fullRowHeight: number; fullSvgWidth: number; ganttFullHeight: number; ganttSVGRef: RefObject<SVGSVGElement>; ganttTaskContentRef: RefObject<HTMLDivElement>; onVerticalScrollbarScrollX: (event: SyntheticEvent<HTMLDivElement>) => void; ganttTaskRootRef: RefObject<HTMLDivElement>; onScrollGanttContentVertically: (event: SyntheticEvent<HTMLDivElement>) => void; colors: Partial<ColorStyles>; }; export declare const TaskGantt: React.NamedExoticComponent<TaskGanttProps>;