UNPKG

649 BTypeScriptView Raw
1import * as React from 'react';
2import type { CellType, ColumnType, CustomizeComponent, GetComponentProps, StickyOffsets } from '../interface';
3export interface RowProps<RecordType> {
4 cells: readonly CellType<RecordType>[];
5 stickyOffsets: StickyOffsets;
6 flattenColumns: readonly ColumnType<RecordType>[];
7 rowComponent: CustomizeComponent;
8 cellComponent: CustomizeComponent;
9 onHeaderRow: GetComponentProps<readonly ColumnType<RecordType>[]>;
10 index: number;
11}
12declare const HeaderRow: {
13 <RecordType extends unknown>(props: RowProps<RecordType>): React.JSX.Element;
14 displayName: string;
15};
16export default HeaderRow;