import React, { Component, ReactNode } from 'react'; import PropTypes from 'prop-types'; import { ColumnProps } from './Column'; import { ElementProps } from '../core/ViewComponent'; import Record from '../data-set/Record'; import { ColumnLock } from './enum'; export interface TableTBodyProps extends ElementProps { lock?: ColumnLock | boolean; indentSize: number; } export default class TableTBody extends Component { static displayName: string; static propTypes: { lock: PropTypes.Requireable; prefixCls: PropTypes.Requireable; indentSize: PropTypes.Validator; }; static contextType: React.Context<{ tableStore: import("./TableStore").default; }>; tableBody: HTMLTableSectionElement | null; nextFrameActionId?: number; get leafColumns(): ColumnProps[]; handleResize(): void; saveRef(node: any): void; render(): JSX.Element; componentDidUpdate(): void; getRows(records: Record[], columns: ColumnProps[], expanded?: boolean, lock?: ColumnLock | boolean): ReactNode; getEmptyRow(columns: ColumnProps[], lock?: ColumnLock | boolean): ReactNode | undefined; renderExpandedRows(columns: ColumnProps[], record: Record, isExpanded?: boolean, lock?: ColumnLock | boolean): ReactNode; getRow(columns: ColumnProps[], record: Record, index: number, expanded?: boolean, lock?: ColumnLock | boolean): ReactNode; syncBodyHeight(): void; }