react-modern-gantt
Version:
A modern, customizable Gantt chart component for React applications with export functionality
30 lines (29 loc) • 585 B
TypeScript
export interface Task {
id: string;
name: string;
startDate: Date;
endDate: Date;
color?: string;
percent?: number;
dependencies?: string[];
[key: string]: any;
}
export interface TaskGroup {
id: string;
name: string;
description?: string;
icon?: string;
tasks: Task[];
[key: string]: any;
}
export interface GanttStyles {
container?: string;
title?: string;
header?: string;
taskList?: string;
timeline?: string;
todayMarker?: string;
taskRow?: string;
taskItem?: string;
tooltip?: string;
}