kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
20 lines (19 loc) • 901 B
TypeScript
import React, { Component } from 'react';
import { Timeline } from '@kepler.gl/types';
interface AnimationControllerProps<T extends number | number[]> {
isAnimating?: boolean;
speed?: number;
updateAnimation?: (x: T) => void;
setTimelineValue: (x: T) => void;
timeline?: Timeline;
animationWindow?: string;
steps?: number[] | null;
domain: number[] | null;
value: T;
baseSpeed?: number;
children?: (isAnimating: boolean | undefined, startAnimation: () => void, pauseAnimation: () => void, resetAnimation: () => void, timeline: Timeline | undefined, setTimelineValue: (x: any) => void) => React.ReactElement | null;
}
declare class AnimationControllerType<T extends number | number[]> extends Component<AnimationControllerProps<T>> {
}
declare function AnimationControllerFactory(): typeof AnimationControllerType;
export default AnimationControllerFactory;