react-google-charts icon indicating copy to clipboard operation
react-google-charts copied to clipboard

Allowed export of GoogleChartLoader

Open Spoof14 opened this issue 6 years ago • 2 comments
trafficstars

Also added a test in the demo that allows you to manipulate the underlying DataTable

Spoof14 avatar Nov 07 '19 11:11 Spoof14

Hey @Spoof14

Thanks for the PR. Wouldn't it be sufficient to export GoogleChartLoader without touching ReactGoogleChartLoader ?

rakannimer avatar Nov 07 '19 11:11 rakannimer

Hmm, yes maybe, but it would require the user to provide the onLoad and onError function, no? I tried to maintain the same level of abstraction as used in ReactGoogleChartsLoader.

Spoof14 avatar Nov 07 '19 12:11 Spoof14