mantine-react-table
Version:
A fully featured Mantine implementation of TanStack React Table V8, written from the ground up in TypeScript.
13 lines (12 loc) • 674 B
TypeScript
import { type Dispatch, type SetStateAction } from 'react';
import { type MRT_Column, type MRT_TableInstance } from '../types';
interface Props<TData extends Record<string, any> = {}> {
allColumns: MRT_Column<TData>[];
column: MRT_Column<TData>;
hoveredColumn: MRT_Column<TData> | null;
isSubMenu?: boolean;
setHoveredColumn: Dispatch<SetStateAction<MRT_Column<TData> | null>>;
table: MRT_TableInstance<TData>;
}
export declare const MRT_ShowHideColumnsMenuItems: <TData extends Record<string, any> = {}>({ allColumns, hoveredColumn, setHoveredColumn, column, isSubMenu, table, }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
export {};