Bunlong / react-papaparse

react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
https://react-papaparse.js.org
MIT License
370 stars 61 forks source link

Add ability for data={} in CSVDownloader to be a function #93

Closed BirdTho closed 3 years ago

BirdTho commented 3 years ago

See issue #92

this PR would allow CSVDownloader to call a function if passed in for data={} which would allow data to be calculated at click time instead of on every change to data.

Bunlong commented 3 years ago

@BirdTho Thanks for your contribution. You were added to contributor list. Thank you so much!