- Named parameters are now required for passing custom
data
,filename
, anddelimeter
props. - Support for the IE
navigator.msSaveBlob
method was removed from the code (as it was removed in new versions of TypeScript). - File name can be provided without
.csv
extension, it will be added automatically
- update to the new version (2.x)
- map arguments on object props. I.e:
const props = {
data: data,
filename: filename,
delimiter: delimiter
}
csvDownload(props);