UNPKG

558 BTypeScriptView Raw
1import * as React from 'react';
2import type { FlattenData } from '../hooks/useFlattenRecords';
3export interface BodyLineProps<RecordType = any> {
4 data: FlattenData<RecordType>;
5 index: number;
6 className?: string;
7 style?: React.CSSProperties;
8 rowKey: React.Key;
9 /** Render cell only when it has `rowSpan > 1` */
10 extra?: boolean;
11 getHeight?: (rowSpan: number) => number;
12}
13declare const ResponseBodyLine: React.ForwardRefExoticComponent<BodyLineProps<any> & React.RefAttributes<HTMLDivElement>>;
14export default ResponseBodyLine;