@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
19 lines (18 loc) • 542 B
TypeScript
/**
* Web TableContext Context
*
*/
import React from 'react';
import type { Translation } from '../../shared/Context';
import type { TableAllProps } from './Table';
type TableContextProps = {
trCountRef: React.MutableRefObject<{
count: number;
}>;
rerenderAlias: Record<string, never>;
collapseTrCallbacks: React.MutableRefObject<(() => void)[]>;
allProps: TableAllProps & Translation['Table'];
hasAccordionRows?: boolean;
};
export declare const TableContext: React.Context<TableContextProps>;
export {};