UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

28 lines (27 loc) 1.03 kB
import { KendoComponent } from '../_types/component'; export declare const POPUP_CLASSNAME = "k-popup"; export type KendoPopupProps = { positionMode?: "absolute" | "fixed"; offset?: { top: number | string; left: number | string; }; animationStyle?: React.CSSProperties; /** * Class name for the animation container (e.g., "k-combobox-popup-container"). * Used when popup is appended to body and needs a landmark role. */ containerClassName?: string; /** * Role for the animation container. Use "region" when appended to body. * @aria role="region" - Required when popup container is appended to document body */ containerRole?: string; /** * Aria label for the animation container when it has role="region". * @aria aria-label - Required when container has role="region" */ containerAriaLabel?: string; }; export declare const Popup: KendoComponent<KendoPopupProps & React.HTMLAttributes<HTMLDivElement>>; export default Popup;