UNPKG

es-grid-template

Version:

es-grid-template

14 lines (13 loc) 618 B
/// <reference types="react" /> import type { Row, Table } from "@tanstack/react-table"; import type { CommandClick } from "../../grid-component/type"; 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>) => JSX.Element; export default TableBodyRow;