UNPKG

@progress/kendo-react-gantt

Version:

React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package

52 lines (51 loc) 1.73 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { DataItem } from '../interfaces/DataItem.js'; import * as React from 'react'; /** * Represents the event arguments of Gantt remove dialog. */ export interface GanttRemoveDialogStateChangeEvent { /** * The updated data item. */ dataItem: DataItem | null; /** * A React Synthetic Event. */ syntheticEvent: React.SyntheticEvent<any>; /** * A native DOM event. */ nativeEvent: any; } /** * Represents the props of the KendoReact [GanttRemoveDialog](https://www.telerik.com/kendo-react-ui/components/gantt/api/ganttremovedialog) component. */ export interface GanttRemoveDialogProps { /** * Specifies the `DataItem` currently being deleted. */ dataItem: DataItem; /** * Called when the `close` button is clicked. */ onClose?: (event: GanttRemoveDialogStateChangeEvent) => void; /** * Called when the `cancel` button is clicked. */ onCancel?: (event: GanttRemoveDialogStateChangeEvent) => void; /** * Called when the `confirm` button is clicked. */ onConfirm?: (event: GanttRemoveDialogStateChangeEvent) => void; } /** * Represents the `removeDialog` component rendered when removing a task from the Gantt component. */ export declare const GanttRemoveDialog: (props: GanttRemoveDialogProps) => React.ReactPortal | null;