/** * 对应表体的一格 */ import React, { PropsWithChildren, ReactNode } from 'react'; import { CellProps } from 'react-table'; export declare type Props = PropsWithChildren & { index: number; className?: string; }>; export declare type CellRender = (value: K extends keyof R ? R[K] : void, record: R, index: number) => ReactNode; export declare type CellRowSpan = (value: K extends keyof R ? R[K] : void, record: R, index: number) => number | undefined; export default function Cell({ cell, data, value, index: columnIndex, columns, className }: Props): React.JSX.Element | null;