We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on load returns csv data without the file meta data
The text was updated successfully, but these errors were encountered:
Hi @ntedgi. It's not implemented anything for this, yet.
In this line of code you can see where I get filename: https://github.com/nzambello/react-csv-reader/blob/master/src/index.js#L20
We could add a method which, as a callback, provides the name of the file it's parsing.
Sorry, something went wrong.
great i saw that you pass the file name also as a parameter to the onFileLoaded callback here : https://github.com/nzambello/react-csv-reader/blob/acbcea4863e42bb8f42ea8716b13bac2bcf4de68/src/index.js#L30
i think it will be great if you change the basic example usage :
<CSVReader onFileLoaded={(data,fileName) => console.log(data)} />
thanks
Oh right! I forgot that. I've just updated README and the demo on CodeSandBox.
Thank you!
No branches or pull requests
on load returns csv data without the file meta data
The text was updated successfully, but these errors were encountered: