import type { ScrollToOptions } from '@tanstack/react-virtual'; import { type StylingProps, type WithChildren } from '@dynatrace/strato-components/core'; import type { Row } from '../hooks/useTable/types.js'; interface DataTableV2RowProps extends WithChildren, StylingProps { /** * DataTableV2 row object. */ row: Row; /** * Total number of rows currently rendered in the table. */ rowCount: number; /** * The row's index based on the virtualization. */ virtualRowIndex: number; /** * If the row is currently being reordered via drag and drop. */ isDraggedRow: boolean; /** * Parity of the row to keep track of the zebra stripe patterns. */ rowParity?: 'even' | 'odd'; /** * Measure function for row sizing that is called when the row is rendered to the dom. */ rowMeasure: (node: Element | null) => void; /** * rowVirtualizer function for scrolling to the row with the specified index. */ scrollToIndex: (index: number, options?: ScrollToOptions) => void; } /** * Wrapper around all cells in a row. * @internal */ export declare function DataTableV2Row(props: Readonly>): import("react/jsx-runtime.js").JSX.Element; export {};