UNPKG

@sap-ux/ui-components

Version:
44 lines 1.22 kB
import React from 'react'; import type { ListProps } from 'react-virtualized'; export { CellMeasurerCache, ListRowProps, SectionRenderedParams, GridState, defaultCellRangeRenderer, GridCellRangeProps, 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 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