UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

36 lines (35 loc) 1.6 kB
import type { Virtualizer } from '@tanstack/react-virtual'; import type { MutableRefObject } from 'react'; import type { AnalyticalTablePropTypes, DivWithCustomScrollProp, ScrollToRefType, TableInstance, TriggerScrollState } from '../types/index.js'; interface VirtualTableBodyProps { classes: Record<string, string>; prepareRow: (row: unknown) => void; rows: TableInstance['rows']; isTreeTable?: AnalyticalTablePropTypes['isTreeTable']; internalRowHeight: number; alternateRowColor?: AnalyticalTablePropTypes['alternateRowColor']; visibleColumns: Record<string, unknown>[]; renderRowSubComponent: AnalyticalTablePropTypes['renderRowSubComponent']; popInRowHeight: number; isRtl: boolean; markNavigatedRow?: AnalyticalTablePropTypes['markNavigatedRow']; alwaysShowSubComponent: boolean; dispatch?: (e: { type: string; payload?: Record<string, unknown>; }) => void; subComponentsHeight?: Record<string, { rowId: string; subComponentHeight?: number; }>; columnVirtualizer: Virtualizer<DivWithCustomScrollProp, Element>; manualGroupBy?: boolean; subRowsKey: string; scrollContainerRef?: MutableRefObject<HTMLDivElement>; subComponentsBehavior: AnalyticalTablePropTypes['subComponentsBehavior']; triggerScroll?: TriggerScrollState; scrollToRef: MutableRefObject<ScrollToRefType>; rowVirtualizer: Virtualizer<DivWithCustomScrollProp, HTMLElement>; } export declare const VirtualTableBody: (props: VirtualTableBodyProps) => import("react/jsx-runtime").JSX.Element; export {};