@huynhduluong/gantt-task-react
Version:
Interactive Gantt Chart for React with TypeScript
21 lines (20 loc) • 575 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;
};
onMouseDown: (event: React.MouseEvent<SVGPolygonElement, MouseEvent>) => void;
};
export declare const BarDisplay: React.FC<BarDisplayProps>;
export {};