-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
bottom-widget.d.ts
33 lines (29 loc) · 1.11 KB
/
bottom-widget.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React from 'react';
import {Datasets, Filter, AnimationConfig} from 'reducers/vis-state-updaters';
import {UiState} from 'reducers/ui-state-updaters';
import * as UIStateActions from 'actions/ui-state-actions';
import * as VisStateActions from 'actions/vis-state-actions';
import {Layer} from 'layers';
export type BottomWidgetProps = {
datasets: Datasets;
filters: Filter[];
layers: Layer[];
animationConfig: AnimationConfig;
uiStateActions: typeof UIStateActions;
visStateActions: typeof VisStateActions;
rootRef: React.ForwardedRef<HTMLDivElement>;
containerW: number;
uiState: UiState;
sidePanelWidth: number;
toggleModal: typeof UIStateActions.toggleModal;
children?: React.ReactNode;
};
export function BottomWidgetFactory(
TimeWidget: typeof React.Component,
AnimationControl: typeof React.Component,
FilterAnimationController: typeof React.Component,
LayerAnimationController: typeof React.Component
): any;
export default BottomWidgetFactory;
export function LayerAnimationControllerFactory(): React.Component;
export function FilterAnimationControllerFactory(): React.Component;