@eisberg-labs/use-google-charts
Version:
Google charts context loader for React components, loosely typed.
10 lines • 469 B
TypeScript
/// <reference types="google.visualization" />
/**
* Initializes google charts.
*
* @param {Function} loadCallback draw chart callback
* @param {google.LoadOptions} props google.charts.load options e.g. {}
* @param {string | number} version version of google charts, current by default
*/
export default function useGoogleCharts(loadCallback: () => void, props: google.LoadOptions, version?: string | number): void;
//# sourceMappingURL=use-google-charts.d.ts.map