@sap-ux/ui-components
Version:
SAP UI Components Library
44 lines • 1.26 kB
TypeScript
import React from 'react';
import type { ListProps } from 'react-virtualized';
export { defaultCellRangeRenderer, CellMeasurerCache, type ListRowProps, type SectionRenderedParams, type GridState, type GridCellRangeProps, type VisibleCellRange } from 'react-virtualized';
/**
* UIVirtualList component.
* based on https://github.com/bvaughn/react-virtualized/tree/master/source/List.
*
* @exports
* @class UIVirtualList
* @extends {React.Component<ListProps, {}>}
*/
export declare class UIVirtualList extends React.Component<ListProps, {}> {
private readonly listRef;
/**
* Initializes component properties.
*
* @param {CellMeasurerProps} props
*/
constructor(props: ListProps);
forceListUpdate(): void;
/**
* Scrolls to the row based on index.
*
* @param index
*/
scrollToRow(index?: number): void;
/**
* Method to compute row height.
*
* @param {number} index
*/
recomputeRowHeights(index?: number): void;
/**
* Method returns state of component isScrolling.
*
* @returns {boolean}
*/
isScrolling(): boolean;
/**
* @returns {JSX.Element}
*/
render(): JSX.Element;
}
//# sourceMappingURL=UIVirtualList.d.ts.map