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
363 stars 60 forks source link

how to call getRemoveFileProps Programatically or is there any option we can remove FileProps? #127

Open Zukqurnain opened 2 years ago

robertrico commented 2 years ago

I spread the props into a new object and called the "onClick" with a new click event. This seems kind of hacky, but it achieved what I wanted it to.

Screen Shot 2022-05-18 at 9 54 30 AM