export table components

This commit is contained in:
Eduard Heimbuch
2019-12-02 15:59:32 +01:00
parent ef74a54b91
commit 2e676a8f51
7 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
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;
};