tanstack-table-header-rowspan
Version:
Rowspan for TanStack Table headers
15 lines (14 loc) • 684 B
TypeScript
import type { Header } from '@tanstack/react-table';
import { type CSSProperties } from 'react';
export declare function tableHeaderRowSpan(header: Header<any, any>): number | null;
export declare function tableFooterRowSpan(header: Header<any, any>): number | null;
export declare function flexTableHeaderRowSpan(header: Header<any, any>): {
rowSpan: number;
topBorderMightBeNeeded: boolean;
styles: (cssRowHeight: CSSProperties['height']) => CSSProperties;
};
export declare function flexTableFooterRowSpan(header: Header<any, any>): {
rowSpan: number;
bottomBorderMightBeNeeded: boolean;
styles: (cssRowHeight: CSSProperties['height']) => CSSProperties;
};