UNPKG

505 BTypeScriptView Raw
1import { ComponentType } from '@antv/f-engine';
2import Chart, { ChartChildProps, Point } from '../../chart';
3import { AnimationProps } from '@antv/f-engine';
4export interface GuideProps {
5 records: any;
6 onClick?: (ev: any) => void;
7 animation?: ((points: Point[], chart: Chart) => AnimationProps) | AnimationProps;
8 [key: string]: any;
9}
10export default function <IProps extends GuideProps = GuideProps>(View: ComponentType<IProps & ChartChildProps>): ComponentType<IProps & ChartChildProps>;
11
\No newline at end of file