mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
13 lines
302 B
TypeScript
13 lines
302 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
export type Comparator = (a: any, b: any) => number;
|
|
|
|
export type ColumnProps = {
|
|
header: ReactNode;
|
|
row?: any;
|
|
columnIndex?: number;
|
|
createComparator?: (props: any, columnIndex: number) => Comparator;
|
|
ascendingIcon?: string;
|
|
descendingIcon?: string;
|
|
};
|