///
export declare type GenericComponent = React.ComponentClass | React.SFC;
export declare type Omit = Pick>;
export declare type DataRow = {
type: 'row';
key: string;
values: {
[key: string]: any;
};
height?: number | void;
category?: string;
filterValue?: string | void;
sortKey?: string | number;
style?: Object;
onDoubleClick?: (e: MouseEvent) => void;
copyText?: string;
highlightOnHover?: boolean;
};
export declare type GenericDataRow = DataRow | {
[key: string]: any;
};
export declare enum DataType {
number = "number",
boolean = "boolean",
string = "string",
date = "date",
unknown = "unknown"
}
export declare type DataColumn = {
key?: string;
value: string;
sortable?: boolean;
resizable?: boolean;
flex?: number;
type?: DataType;
onChange?: (index: number, value: any) => void;
};
export declare type DataColumns = {
[key: string]: DataColumn;
};
declare type DataColumnsObject = {
[key: string]: DataColumn | string;
};
export declare type DataColumnsShort = DataColumnsObject | (DataColumn | string)[];
export {};
//# sourceMappingURL=types.d.ts.map