kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
39 lines (38 loc) • 1.05 kB
TypeScript
import * as arrow from 'apache-arrow';
import React, { CSSProperties } from 'react';
declare type BaseComponentProps = {
className?: string;
style?: CSSProperties;
};
export declare type ColMeta = {
[key: string]: {
colIdx: number;
name: string;
displayName: string;
type: string;
};
};
export declare type DataTableStyle = {
minCellSize?: number;
cellPadding?: number;
fontSize?: number;
font?: string;
optionsButton?: number;
};
export declare type QueryResult = {
table: arrow.Table;
tableDuckDBTypes: Record<string, string>;
};
export declare type PreviewDataPanelProps = BaseComponentProps & {
result: QueryResult;
rowsToCalculatePreview?: number;
theme?: any;
setColumnDisplayFormat?: (formats: {
[key: string]: string;
}) => void;
defaultPinnedColumns?: string[];
dataTableStyle: DataTableStyle;
onAddResultToMap: (result: QueryResult) => void;
};
export declare const PreviewDataPanel: React.FC<PreviewDataPanelProps>;
export {};