UNPKG

es-grid-template

Version:

es-grid-template

15 lines (14 loc) 690 B
import { type Table } from "@tanstack/react-table"; import type { CommandClick } from "../../grid-component/type"; import React from "react"; interface TableBodyProps<T> { table: Table<T>; tableContainerRef: React.RefObject<HTMLDivElement>; commandClick?: (args: CommandClick<T>) => void; editAble?: boolean; tableId: string; showEmptyText?: boolean; [key: string]: any; } declare const TableBody: <RecordType extends object>({ columnVirtualizer, table, tableContainerRef, virtualPaddingLeft, virtualPaddingRight, fixedLeftColumns, fixedRightColumns, tableId, showEmptyText, ...rest }: TableBodyProps<RecordType>) => React.JSX.Element; export default TableBody;