UNPKG

react-gantt-lightweight

Version:
10 lines (9 loc) 728 B
import { GanttDataProps, GanttStatusListProps, GanttType, IListIF, YearListIF } from "./types"; export declare const defaultStatus: GanttStatusListProps[]; export declare const getYearMonth: (startTime: string, endTime: string, showDateType: GanttType) => YearListIF[]; export declare const getDaysList: (start: string, end: string) => string[]; export declare const getStartEndHours: (start: string, end: string) => number; export declare function debounce<T extends (...args: unknown[]) => void>(fn: T, delay: number): (...args: Parameters<T>) => void; export declare function getUUID(): string; export declare const initGantt: (list: GanttDataProps[]) => IListIF[]; export declare function calculateScrollbarWidth(): number;