added excel download button to the pages
2 unresolved threads
2 unresolved threads
Compare changes
@@ -36,12 +40,48 @@ function convertToCSV(jsonData: any[]): string {
@@ -36,12 +40,48 @@ function convertToCSV(jsonData: any[]): string {
@@ -52,9 +92,9 @@ const DownloadCSVButton: React.FC<DownloadCSVProps> = ({ data, filename = 'data.
@@ -52,9 +92,9 @@ const DownloadCSVButton: React.FC<DownloadCSVProps> = ({ data, filename = 'data.
seems like an odd content type, but if it works, it works..
This is the MIME type for Excel files (specifically the newer .xlsx format that started with Microsoft Excel 2007).