1 | import React from 'react';
|
2 | import './reactElement/component';
|
3 | import { AnnotationBaseOption } from '../../interface';
|
4 | export interface IAnnotationBaseProps extends AnnotationBaseOption {
|
5 | chartIns?: any;
|
6 | [key: string]: any;
|
7 | }
|
8 | declare 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(): React.JSX.Element;
|
19 | }
|
20 | export default Annotation;
|