UNPKG

es-grid-template

Version:

es-grid-template

15 lines (14 loc) 567 B
import type { Cell, Table } from "@tanstack/react-table"; import type { CommandClick } from "../../grid-component/type"; import React from "react"; import type { VirtualItem } from "@tanstack/react-virtual"; interface TableBodyCellProps<T> { table: Table<T>; tableId: string; cell: Cell<T, unknown>; commandClick?: (args: CommandClick<T>) => void; virtualRow: VirtualItem; [key: string]: any; } declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element; export default TableBodyCell;