UNPKG

react-google-charts

Version:
34 lines (33 loc) 1.11 kB
import * as React from "react"; import { GoogleViz, GoogleChartWrapper, ReactGoogleChartProps, GoogleChartDashboard } from "../types"; export declare type ChartDrawArgs = { data: ReactGoogleChartProps["data"]; }; export declare type GoogleChartDataTableProps = { googleChartWrapper: GoogleChartWrapper; google: GoogleViz; googleChartDashboard: GoogleChartDashboard | null; }; interface State { hiddenColumns: string[]; } export declare class GoogleChartDataTableInner extends React.Component<ReactGoogleChartProps & GoogleChartDataTableProps, State> { state: State; private listenToLegendToggle; private applyFormatters; private getColumnID; private draw; private grayOutHiddenColumns; private onResize; componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(): void; render(): null; } export declare class GoogleChartDataTable extends React.Component<GoogleChartDataTableProps> { componentDidMount(): void; componentWillUnmount(): void; shouldComponentUpdate(): boolean; render(): JSX.Element; } export {};