react-google-charts
Version:
react-google-charts React component
15 lines (14 loc) • 627 B
TypeScript
import * as React from "react";
import { GoogleViz, ReactGoogleChartProps, GoogleChartControlProp, GoogleChartControl, UseChartControlsParams } from "../../types";
import { FilterControl } from "../../components/GoogleChartControls";
export type Props = ReactGoogleChartProps & {
google: GoogleViz;
};
export type GoogleChartControlAndProp = {
controlProp: GoogleChartControlProp;
control: GoogleChartControl;
};
export declare const useChartControls: (props: UseChartControlsParams) => {
addControls: (props: UseChartControlsParams) => void;
renderControl: (filter: FilterControl) => React.JSX.Element;
};