UNPKG

kepler.gl

Version:

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

34 lines (33 loc) 1.09 kB
import React, { ComponentType } from 'react'; import { MapControls } from '@kepler.gl/types'; import { MapControlTooltipFactory } from '@kepler.gl/components'; declare type AiAssistantControlIcons = { aiAssistantIcon: ComponentType<{ height?: string; width?: string; className?: string; style?: React.CSSProperties; }>; }; /** * AiAssistantControlProps * @param mapControls MapControls from kepler.gl * @param onToggleMapControl (control: string) => void * @param actionIcons AiAssistantControlIcons * @returns */ export declare type AiAssistantControlProps = { mapControls: MapControls; onToggleMapControl: (control: string) => void; actionIcons: AiAssistantControlIcons; }; /** * AiAssistantControlFactory * @param MapControlTooltip * @returns */ declare function AiAssistantControlFactory(MapControlTooltip: ReturnType<typeof MapControlTooltipFactory>): React.FC<AiAssistantControlProps>; declare namespace AiAssistantControlFactory { var deps: (typeof MapControlTooltipFactory)[]; } export default AiAssistantControlFactory;