first
This commit is contained in:
10
types/react-table.d.ts
vendored
Normal file
10
types/react-table.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { RowData } from '@tanstack/react-table';
|
||||
import { TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
||||
|
||||
declare module '@tanstack/react-table' {
|
||||
export interface ColumnMeta<TData extends RowData, TValue> {
|
||||
cellProps?: TdHTMLAttributes<HTMLTableDataCellElement>;
|
||||
headerProps?: ThHTMLAttributes<HTMLTableHeaderCellElement>;
|
||||
footerProps?: ThHTMLAttributes<HTMLTableHeaderCellElement>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user