You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
691 B
16 lines
691 B
import * as React from 'react';
|
|
import { GetRowKey, Key, GetComponentProps } from '../interface';
|
|
export interface BodyProps<RecordType> {
|
|
data: RecordType[];
|
|
getRowKey: GetRowKey<RecordType>;
|
|
measureColumnWidth: boolean;
|
|
expandedKeys: Set<Key>;
|
|
onRow: GetComponentProps<RecordType>;
|
|
rowExpandable: (record: RecordType) => boolean;
|
|
emptyNode: React.ReactNode;
|
|
childrenColumnName: string;
|
|
}
|
|
declare function Body<RecordType>({ data, getRowKey, measureColumnWidth, expandedKeys, onRow, rowExpandable, emptyNode, childrenColumnName, }: BodyProps<RecordType>): JSX.Element;
|
|
declare const MemoBody: React.MemoExoticComponent<typeof Body>;
|
|
export default MemoBody;
|