kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
26 lines (25 loc) • 1.41 kB
TypeScript
import React from 'react';
import TimeWidgetFactory from './filters/time-widget';
import { bottomWidgetSelector } from './kepler-gl';
import FilterAnimationControllerFactory from './filter-animation-controller';
import LayerAnimationControllerFactory from './layer-animation-controller';
import AnimationControlFactory from './common/animation-control/animation-control';
import { BaseComponentProps } from './types';
export type BottomWidgetContainerProps = BaseComponentProps & {
hasPadding?: boolean;
width: number;
ref: React.ForwardedRef<HTMLDivElement>;
};
export type BottomWidgetProps = {
rootRef: React.ForwardedRef<HTMLDivElement>;
containerW: number;
} & ReturnType<typeof bottomWidgetSelector>;
type ThemeProp = {
theme: any;
};
type BottomWidgetThemedProps = BottomWidgetProps & ThemeProp;
declare function BottomWidgetFactory(TimeWidget: ReturnType<typeof TimeWidgetFactory>, AnimationControl: ReturnType<typeof AnimationControlFactory>, FilterAnimationController: ReturnType<typeof FilterAnimationControllerFactory>, LayerAnimationController: ReturnType<typeof LayerAnimationControllerFactory>): React.FC<BottomWidgetThemedProps>;
declare namespace BottomWidgetFactory {
var deps: (typeof AnimationControlFactory | typeof TimeWidgetFactory | typeof LayerAnimationControllerFactory | typeof FilterAnimationControllerFactory)[];
}
export default BottomWidgetFactory;