UNPKG

@itwin/presentation-components

Version:

React components based on iTwin.js Presentation library

26 lines 789 B
/** @packageDocumentation * @module Internal */ import { IModelConnection } from "@itwin/core-frontend"; import { KeySet, Ruleset } from "@itwin/presentation-common"; import { TableRowDefinition } from "./Types.js"; import { TableOptions } from "./UseTableOptions.js"; /** @internal */ export interface UseRowsProps { imodel: IModelConnection; ruleset: Ruleset | string; keys: Readonly<KeySet>; pageSize: number; options: TableOptions; } /** @internal */ export interface UseRowsResult { isLoading: boolean; rows: TableRowDefinition[]; loadMoreRows: () => void; } /** @internal */ export declare function useRows(props: UseRowsProps): UseRowsResult; /** @internal */ export declare const ROWS_RELOAD_PAGE_SIZE = 1000; //# sourceMappingURL=UseRows.d.ts.map