dce-charts
Version:
Harvard DCE's React Charting Wrapper
17 lines (16 loc) • 389 B
TypeScript
/**
* Component that's a clickable button to download the contents of a chart as
* a CSV file
* @author Jackson Parsells
* @author Gabe Abrams
*/
import React from 'react';
declare type Props = {
title: string;
chartData: {
[k: string]: string | number;
}[];
filename: string;
};
declare const DownloadButton: React.FC<Props>;
export default DownloadButton;