UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

13 lines (12 loc) 542 B
import { GetStylesApi } from '../../core'; import type { TableFactory } from './Table'; export interface TableContextValue { getStyles: GetStylesApi<TableFactory>; stickyHeader: boolean | undefined; striped: 'odd' | 'even' | undefined; highlightOnHover: boolean | undefined; withColumnBorders: boolean | undefined; withRowBorders: boolean | undefined; captionSide: 'top' | 'bottom'; } export declare const TableProvider: import("react").Context<TableContextValue | null>, useTableContext: () => TableContextValue;