Closed abdulhadi1995 closed 4 years ago
@abdulhadi1995 It supports both class component and function component. Could you please send me your code below?
Well following is all the steps i followed:
first i copied all the code from here : https://github.com/Bunlong/react-papaparse/blob/master/demo/CSVReader2.js
Then i created a file called CSVReader2.js inside my components and pasted the code there. after that I simply imported that component inside my page and used it as
Now i also directly importing the
@abdulhadi1995 Please upgrade react-papaparse to latest version v3.7.3.
Yeah I guess you rolled that out quick coz i had download the package just yesterday xD. Anyhoo thanks alot for your time and God Bless for all the good work that you guys are doing.
Thank you so much! You too! You are very welcome. Thanks!
I added the package and followed the Demo to create a drag or click reader. The problem is when i used the component inside my functional component it gives "cant read onDrag of undefined" error. Does this package not support running on functional components?