1 | import * as React from "react";
|
2 | import { GoogleViz, ReactGoogleChartProps, ReactGoogleChartState } from "./types";
|
3 | export declare class Chart extends React.Component<ReactGoogleChartProps, ReactGoogleChartState> {
|
4 | _isMounted: boolean;
|
5 | state: {
|
6 | loadingStatus: "ready" | "loading" | "errored";
|
7 | google: GoogleViz | null;
|
8 | };
|
9 | static defaultProps: Partial<ReactGoogleChartProps>;
|
10 | render(): JSX.Element;
|
11 | componentDidMount(): void;
|
12 | componentWillUnmount(): void;
|
13 | onLoad: (google: GoogleViz) => void;
|
14 | onSuccess: (google: GoogleViz) => void;
|
15 | onError: () => void;
|
16 | isFullyLoaded(google: GoogleViz): any;
|
17 | }
|
18 | export default Chart;
|