@kashifsaadat/react-scheduler 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3219 -3172
- package/dist/index.umd.cjs +103 -103
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare type ParsedDatesRange = {
|
|
|
63
63
|
endDate: Date;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
export declare const Scheduler: ({ data, config, startDate, onRangeChange, onTileClick, onFilterData, onClearFilterData, onItemClick, isLoading }: SchedulerProps) => JSX.Element;
|
|
66
|
+
export declare const Scheduler: ({ data, config, startDate, onRangeChange, onVisibleViewportChange, onZoomChange, onTileClick, onFilterData, onClearFilterData, onItemClick, isLoading }: SchedulerProps) => JSX.Element;
|
|
67
67
|
|
|
68
68
|
export declare type SchedulerData = SchedulerRow[];
|
|
69
69
|
|
|
@@ -110,6 +110,8 @@ export declare type SchedulerProps = {
|
|
|
110
110
|
config?: Config;
|
|
111
111
|
startDate?: string;
|
|
112
112
|
onRangeChange?: (range: ParsedDatesRange) => void;
|
|
113
|
+
onVisibleViewportChange?: (viewport: ParsedDatesRange) => void;
|
|
114
|
+
onZoomChange?: (zoom: 0 | 1 | 2) => void;
|
|
113
115
|
onTileClick?: (data: SchedulerProjectData) => void;
|
|
114
116
|
onFilterData?: () => void;
|
|
115
117
|
onClearFilterData?: () => void;
|