Open mperone opened 1 year ago
In case you didn't find this solution, here's something that works
{...getRemoveFileProps()}
onClick={(event: Event) => {
getRemoveFileProps().onClick(event);
// Your code here
}
Thanks, will check it out!
I can't seem to figure out from the docs and source code how to handle the old onRemoveFile behavior for CSVReader. I only see onUploadAccepted (can use to replace my old code for onDrop) and onUploadRejected (can use to replace my old code for onError). How can I run my own logic when the file is removed?