BodyLine.d.ts 558 B

1234567891011121314
  1. import * as React from 'react';
  2. import type { FlattenData } from '../hooks/useFlattenRecords';
  3. export 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. }
  13. declare const ResponseBodyLine: React.ForwardRefExoticComponent<BodyLineProps<any> & React.RefAttributes<HTMLDivElement>>;
  14. export default ResponseBodyLine;