UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

14 lines (13 loc) 888 B
import type { CSSProperties, MutableRefObject, RefObject } from 'react'; export declare const NAVIGATION_KEYS: Set<string>; export declare const tagNamesWhichShouldNotSelectARow: Set<string>; /** * Reads the selection column width from the CSS variable on the table element. * Returns `undefined` if `tableRef` is not mounted yet. */ export declare function getSelectionColumnWidth(tableRef: RefObject<HTMLDivElement | null>): number | undefined; export declare const resolveCellAlignment: (column: any) => CSSProperties; export declare function getRowHeight(rowHeight: number, tableRef: RefObject<any>): number; export declare function getSubRowsByString(subRowsKey: any, row: any): any; export declare function getLeafHeaders(header: any): any[]; export declare const getCombinedElementsHeight: (prevHeightRef: MutableRefObject<number>, ...refs: RefObject<HTMLElement>[]) => number;