@progress/kendo-react-popup
Version:
React Popup positions a piece of content next to a specific anchor component. KendoReact Popup package
32 lines (31 loc) • 1.37 kB
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 { AlignStrategy } from '@progress/kendo-popup-common';
/**
* Defines the horizontal and vertical aligning point of the Popup.
*/
export interface Align extends AlignStrategy {
/**
* Defines the possible horizontal point values that are relative to the anchor or the Popup.
*
* The available options are:
* - `left`—Uses the leftmost point of the anchor element.
* - `center`—Uses the center point of the anchor element.
* - `right`—Uses the rightmost point of the anchor element.
*/
horizontal: 'left' | 'center' | 'right';
/**
* Defines the possible vertical point values that are relative to the anchor or the Popup.
*
* The available options are:
* - `top`—Uses the top point of the anchor element.
* - `center`—Uses the center point of the anchor element.
* - `bottom`—Uses the bottom point of the anchor element.
*/
vertical: 'top' | 'center' | 'bottom';
}