UNPKG

737 BTypeScriptView Raw
1/// <reference types="react" />
2import { CellType, StickyOffsets, ColumnType, CustomizeComponent, GetComponentProps } from '../interface';
3export interface RowProps<RecordType> {
4 cells: CellType<RecordType>[];
5 stickyOffsets: StickyOffsets;
6 flattenColumns: ColumnType<RecordType>[];
7 rowComponent: CustomizeComponent;
8 cellComponent: CustomizeComponent;
9 onHeaderRow: GetComponentProps<ColumnType<RecordType>[]>;
10 index: number;
11}
12declare function HeaderRow<RecordType>({ cells, stickyOffsets, flattenColumns, rowComponent: RowComponent, cellComponent: CellComponent, onHeaderRow, index, }: RowProps<RecordType>): JSX.Element;
13declare namespace HeaderRow {
14 var displayName: string;
15}
16export default HeaderRow;