es-grid-template
Version:
es-grid-template
14 lines (13 loc) • 624 B
TypeScript
import { type Row, type Table } from "@tanstack/react-table";
import type { CommandClick } from "../../grid-component/type";
import React from "react";
interface TableBodyRowProps<T> {
tableId: string;
table: Table<T>;
row: Row<T>;
commandClick?: (args: CommandClick<T>) => void;
editAble?: boolean;
[key: string]: any;
}
declare const TableBodyRow: <RecordType extends object>({ tableId, table, row, virtualRow, commandClick, contextMenuItems, onContextMenu, rowheight, editAble, isEditing, isRowEditable, ...rest }: TableBodyRowProps<RecordType>) => React.JSX.Element;
export default TableBodyRow;