dw-react-gantt-chart
Version:
Interactive Gantt Chart for React with TypeScript
22 lines (21 loc) • 602 B
TypeScript
import React from "react";
declare type BarDisplayProps = {
x: number;
y: number;
width: number;
height: number;
isSelected: boolean;
progressX: number;
progressWidth: number;
barCornerRadius: number;
styles: {
backgroundColor: string;
backgroundSelectedColor: string;
progressColor: string;
progressSelectedColor: string;
};
customStyles: string;
onMouseDown: (event: React.MouseEvent<SVGPolygonElement, MouseEvent>) => void;
};
export declare const BarDisplay: React.FC<BarDisplayProps>;
export {};