UNPKG

mantine-react-table

Version:

A fully featured Mantine implementation of TanStack React Table V8, written from the ground up in TypeScript.

16 lines (15 loc) 926 B
import { type RefObject } from 'react'; import { type MRT_Cell, type MRT_TableInstance, type MRT_VirtualItem } from '../types'; interface Props<TData extends Record<string, any> = {}> { cell: MRT_Cell<TData>; isStriped?: boolean; measureElement?: (element: HTMLTableCellElement) => void; numRows?: number; rowIndex: number; rowRef: RefObject<HTMLTableRowElement>; table: MRT_TableInstance<TData>; virtualCell?: MRT_VirtualItem; } export declare const MRT_TableBodyCell: <TData extends Record<string, any> = {}>({ cell, isStriped, measureElement, numRows, rowIndex, rowRef, table, virtualCell, }: Props<TData>) => import("react/jsx-runtime").JSX.Element; export declare const Memo_MRT_TableBodyCell: <TData extends Record<string, any> = {}>({ cell, isStriped, measureElement, numRows, rowIndex, rowRef, table, virtualCell, }: Props<TData>) => import("react/jsx-runtime").JSX.Element; export {};