@progress/kendo-react-gantt
Version:
React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package
26 lines (25 loc) • 817 B
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as React from 'react';
/** @hidden */
export declare enum STORE_ACTION {
add = 0,
remove = 1
}
/** @hidden */
export type Store<T> = React.RefObject<{
[id: string]: T;
} | null>;
/** @hidden */
export interface StoreAction<T> {
type: STORE_ACTION;
itemRef: T;
id: number | string;
}
/** @hidden */
export declare const useDictionaryStore: <T extends unknown>() => [Store<T>, (event: StoreAction<T>) => void];