kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
28 lines (27 loc) • 1.31 kB
TypeScript
import React from 'react';
import { WrappedComponentProps } from 'react-intl';
import { Field } from '@kepler.gl/types';
import InfoHelperFactory from '../../common/info-helper';
import FieldSelectorFactory from '../../common/field-selector';
declare type VisConfigByFieldSelectorProps = {
channel: string;
fields: Field[];
id: string;
property: string;
showScale: boolean;
updateField: (val: readonly (string | number | boolean | object)[] | string | number | boolean | object | null) => void;
updateScale: (val: readonly (string | number | boolean | object)[] | string | number | boolean | object | null) => void;
scaleType?: string;
selectedField?: Field;
description?: string;
label?: string;
placeholder?: string;
scaleOptions: string[];
} & WrappedComponentProps;
declare function VisConfigByFieldSelectorFactory(InfoHelper: ReturnType<typeof InfoHelperFactory>, FieldSelector: ReturnType<typeof FieldSelectorFactory>): React.FC<import("react-intl").WithIntlProps<VisConfigByFieldSelectorProps>> & {
WrappedComponent: React.ComponentType<VisConfigByFieldSelectorProps>;
};
declare namespace VisConfigByFieldSelectorFactory {
var deps: (typeof FieldSelectorFactory | typeof InfoHelperFactory)[];
}
export default VisConfigByFieldSelectorFactory;