material-react-table
Version:
A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.
13 lines (12 loc) • 756 B
TypeScript
import { Row } from '@tanstack/react-table';
import { MRT_Row } from '.';
export declare const MRT_SortingFns: {
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
alphanumeric: import("@tanstack/table-core").SortingFn<any>;
alphanumericCaseSensitive: import("@tanstack/table-core").SortingFn<any>;
text: import("@tanstack/table-core").SortingFn<any>;
textCaseSensitive: import("@tanstack/table-core").SortingFn<any>;
datetime: import("@tanstack/table-core").SortingFn<any>;
basic: import("@tanstack/table-core").SortingFn<any>;
};
export declare const rankGlobalFuzzy: <TData extends Record<string, any> = {}>(rowA: MRT_Row<TData>, rowB: MRT_Row<TData>) => number;