gantt-task-react-powern
Version:
Interactive Gantt Chart for React with TypeScript.
30 lines (29 loc) • 829 B
TypeScript
import React from "react";
declare type BarDisplayProps = {
x: number;
y: number;
type: string;
startProgressWidth: number;
endProgressWidth: number;
width: number;
height: number;
isSelected: boolean;
progressX: number;
progressWidth: number;
barCornerRadius: number;
criticalPathArrows?: Array<{
taskId: string;
arrowColor: string;
}>;
styles: {
taskProgressColor?: string;
backgroundColor: string;
backgroundSelectedColor: string;
progressColor: string;
progressSelectedColor: string;
criticalPathColor?: string;
};
onMouseDown: (event: React.MouseEvent<SVGPolygonElement, MouseEvent>) => void;
};
export declare const BarDisplay: React.FC<BarDisplayProps>;
export {};