@huynhduluong/gantt-task-react
Version:
Interactive Gantt Chart for React with TypeScript
26 lines (25 loc) • 878 B
TypeScript
import React from "react";
import { EventOption } from "../../types/public-types";
import { BarTask } from "../../types/bar-task";
import { GanttEvent } from "../../types/gantt-task-actions";
export declare type TaskGanttContentProps = {
tasks: BarTask[];
dates: Date[];
ganttEvent: GanttEvent;
selectedTask: BarTask | undefined;
rowHeight: number;
columnWidth: number;
timeStep: number;
svg?: React.RefObject<SVGSVGElement>;
svgWidth: number;
taskHeight: number;
arrowColor: string;
arrowIndent: number;
fontSize: string;
fontFamily: string;
rtl: boolean;
setGanttEvent: (value: GanttEvent) => void;
setFailedTask: (value: BarTask | null) => void;
setSelectedTask: (taskId: string) => void;
} & EventOption;
export declare const TaskGanttContent: React.FC<TaskGanttContentProps>;