react-gantt-chart
Version:

27 lines (26 loc) • 914 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 IProps = {
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;
declare const GanttTaskContentOriginal: (props: IProps) => JSX.Element;
export default GanttTaskContentOriginal;