Open reyansh25 opened 3 years ago
const excelDetailColumns = [ { value: '#', widthPx: 160, style: { border: { top: { style: 'thin', color: { rgb: 'FF000000' } }, bottom: { style: 'thin', color: { rgb: 'FF000000' } }, left: { style: 'thin', color: { rgb: 'FF000000' } }, right: { style: 'thin', color: { rgb: 'FF000000' } }, }, }, }, 'Date', 'Status', ];
+1
@reyansh25 Check your dependencies, you also need "xlsx" and "file-saver" packages to be installed. At least worked for me
My reason: Getting above error when trying to use style attribute for column headings
Steps to reproduce:
Lib Version: "react-export-excel": "^0.5.3",