es-grid-template
Version:
es-grid-template
16 lines (15 loc) • 669 B
TypeScript
import type { Cell, Table } from "@tanstack/react-table";
import type { CommandClick } from "../type";
import React from "react";
import type { Virtualizer } from "@tanstack/react-virtual";
interface TableBodyCellProps<T> {
table: Table<T>;
rowVirtualizer: Virtualizer<HTMLDivElement, HTMLTableRowElement>;
columnVirtualizer: Virtualizer<HTMLDivElement, HTMLTableCellElement>;
tableId: string;
cell: Cell<T, unknown>;
commandClick?: (args: CommandClick) => void;
[key: string]: any;
}
declare const TableBodyCellEdit: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
export default TableBodyCellEdit;