Is your feature request related to a problem? Please describe.
The field name on data objects are often short; the ideal column headings to inlcude in a generated CSV file are typicaly longer and more descriptive. Changing the labels currently requires transforming the data before passing it to the DataDownloadButton component.
Describe the solution you'd like
It would be ueful if the DataDownloadButton accepted an additional prop that contained a mapping from field names on the
Is your feature request related to a problem? Please describe.
The field name on data objects are often short; the ideal column headings to inlcude in a generated CSV file are typicaly longer and more descriptive. Changing the labels currently requires transforming the data before passing it to the
DataDownloadButton
component.Describe the solution you'd like
It would be ueful if the
DataDownloadButton
accepted an additional prop that contained a mapping from field names on the