UNPKG

@mopex/react-gantt-flow

Version:

A lightweight and high-performance React (TypeScript) based Gantt chart component.

11 lines 419 B
/** * @description common hook for handling the time scale of the chart * @param minDate start date of the display range * @param maxDate end date of the display range * @param chartWidth total width of the SVG */ export declare const useTimeScale: (minDate: Date, maxDate: Date, chartWidth: number) => { dateToX: (date: Date) => number; xToDate: (x: number) => Date; }; //# sourceMappingURL=index.d.ts.map