amis-rpc-design/node_modules/rc-table/lib/VirtualTable/BodyLine.d.ts

15 lines
558 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;