UNPKG

es-grid-template

Version:

es-grid-template

15 lines (14 loc) 659 B
import type { Table } from '@tanstack/react-table'; import { type Header } from '@tanstack/react-table'; import React from 'react'; import type { Virtualizer } from '@tanstack/react-virtual'; interface TableHeadCellProps<T> { t?: any; table: Table<T>; header: Header<T, unknown>; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; columnVirtualizer: Virtualizer<HTMLDivElement, HTMLTableCellElement>; rowHeaderVirtualizer: Virtualizer<HTMLDivElement, HTMLTableRowElement>; } declare const TableHeadCell: <RecordType extends object>(props: TableHeadCellProps<RecordType>) => React.JSX.Element; export default TableHeadCell;