gantt-task-react-pro
Version:
fork gantt-task-react
38 lines (37 loc) • 1.15 kB
TypeScript
import React from "react";
import { BarTask } from "../../types/bar-task";
import { Task } from "../../types/public-types";
export declare type TaskListProps = {
headerHeight: number;
rowWidth: string;
fontFamily: string;
fontSize: string;
rowHeight: number;
ganttHeight: number;
scrollY: number;
locale: string;
tasks: Task[];
taskListRef: React.RefObject<HTMLDivElement>;
horizontalContainerClass?: string;
selectedTask: BarTask | undefined;
setSelectedTask: (task: string) => void;
onExpanderClick: (task: Task) => void;
TaskListHeader: React.FC<{
headerHeight: number;
rowWidth: string;
fontFamily: string;
fontSize: string;
}>;
TaskListTable: React.FC<{
rowHeight: number;
rowWidth: string;
fontFamily: string;
fontSize: string;
locale: string;
tasks: Task[];
selectedTaskId: string;
setSelectedTask: (taskId: string) => void;
onExpanderClick: (task: Task) => void;
}>;
};
export declare const TaskList: React.FC<TaskListProps>;