UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

25 lines (24 loc) 1.07 kB
import React from 'react'; import { WrappedComponentProps } from 'react-intl'; import { Field } from '@kepler.gl/types'; import FieldSelectorFactory from '../../common/field-selector'; import InfoHelperFactory from '../../common/info-helper'; declare type VisConfigByFieldSelectorProps = { fields: Field[]; id: string; property: string; updateField: (val: string | Field | null) => void; scaleType?: string; selectedField?: Field; description?: string; label?: string; placeholder?: string; disabled?: boolean; } & 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;