@antv/f2
Version:
Charts for mobile visualization.
11 lines (10 loc) • 505 B
TypeScript
import { ComponentType } from '@antv/f-engine';
import Chart, { ChartChildProps, Point } from '../../chart';
import { AnimationProps } from '@antv/f-engine';
export interface GuideProps {
records: any;
onClick?: (ev: any) => void;
animation?: ((points: Point[], chart: Chart) => AnimationProps) | AnimationProps;
[key: string]: any;
}
export default function <IProps extends GuideProps = GuideProps>(View: ComponentType<IProps & ChartChildProps>): ComponentType<IProps & ChartChildProps>;