useCellRender.d.ts 422 B

123
  1. import * as React from 'react';
  2. import type { CellType, ColumnType, DataIndex } from '../interface';
  3. export default function useCellRender<RecordType>(record: RecordType, dataIndex: DataIndex<RecordType>, renderIndex: number, children?: React.ReactNode, render?: ColumnType<RecordType>['render'], shouldCellUpdate?: ColumnType<RecordType>['shouldCellUpdate']): [React.ReactNode, CellType<RecordType>] | [React.ReactNode];