UNPKG

644 BTypeScriptView Raw
1import React from 'react';
2import './reactElement/component';
3import { AnnotationBaseOption } from '../../interface';
4export interface IAnnotationBaseProps extends AnnotationBaseOption {
5 chartIns?: any;
6 [key: string]: any;
7}
8declare abstract class Annotation<PropsI> extends React.Component<PropsI, any> {
9 static contextType: any;
10 protected annotation: any;
11 protected id: string;
12 protected annotationType: string;
13 protected index: number;
14 componentDidMount(): void;
15 componentDidUpdate(): void;
16 componentWillUnmount(): void;
17 getChartIns(): any;
18 render(): JSX.Element;
19}
20export default Annotation;