amis-rpc-design/node_modules/rc-table/es/VirtualTable/BodyLine.d.ts
2023-10-07 19:42:30 +08:00

15 lines
558 B
TypeScript

import * as React from 'react';
import type { FlattenData } from '../hooks/useFlattenRecords';
export interface BodyLineProps<RecordType = any> {
data: FlattenData<RecordType>;
index: number;
className?: string;
style?: React.CSSProperties;
rowKey: React.Key;
/** Render cell only when it has `rowSpan > 1` */
extra?: boolean;
getHeight?: (rowSpan: number) => number;
}
declare const ResponseBodyLine: React.ForwardRefExoticComponent<BodyLineProps<any> & React.RefAttributes<HTMLDivElement>>;
export default ResponseBodyLine;