UNPKG

@progress/kendo-react-dialogs

Version:

React Dialogs provide modal and non-modal windows for showing additional information to the user. KendoReact Dialogs package

52 lines (51 loc) 1.96 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 { WindowProps } from './WindowProps.js'; import { Draggable } from '@progress/kendo-react-common'; import * as React from 'react'; /** * Represent the `ref` of the Window component. */ export interface WindowHandle { /** * The Window element. */ element?: HTMLDivElement | null; /** * **Deprecated.** Use `element` instead. */ windowElement?: HTMLDivElement | null; /** * The draggable handle for the Window component. */ draggable: Draggable | null; /** * The props of the WindowHandle component. */ props: Readonly<WindowProps>; } /** * Internal Window component implementation (functional component). * * @hidden */ export declare const WindowWithoutContext: React.ForwardRefExoticComponent<WindowProps & React.RefAttributes<WindowHandle>>; /** * Context for Window props to enable child components to access parent Window props. */ export declare const WindowPropsContext: React.Context<(p: WindowProps) => WindowProps>; /** * Represents the [KendoReact Window component](https://www.telerik.com/kendo-react-ui/components/dialogs/window). * * Accepts properties of type [WindowProps](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowprops). * Obtaining the `ref` returns an object of type [WindowHandle](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowhandle). * * @remarks * Supported children components are: {@link WindowActionsBar}. */ export declare const Window: React.ForwardRefExoticComponent<WindowProps & React.RefAttributes<any>>;