UNPKG

gantt-task-react-powern

Version:

Interactive Gantt Chart for React with TypeScript.

32 lines (31 loc) 875 B
import { Task, TaskType } from "./public-types"; export interface BarTask extends Task { index: number; typeInternal: TaskTypeInternal; x1: number; x2: number; actualx1: number; actualx2: number; progressStartWidth: number; progressEndWidth: number; y: number; height: number; progressX: number; progressWidth: number; barCornerRadius: number; handleWidth: number; barChildren: BarTask[]; criticalPathArrows?: Array<{ taskId: string; arrowColor: string; }>; styles: { taskProgressColor?: string; backgroundColor: string; backgroundSelectedColor: string; progressColor: string; progressSelectedColor: string; criticalPathColor?: string; }; } export declare type TaskTypeInternal = TaskType | "smalltask";