react-papaparse icon indicating copy to clipboard operation
react-papaparse copied to clipboard

Fix typescript type

Open Bunlong opened this issue 3 years ago • 2 comments

Features

  • Fix typescript type

Issues

  • #121

Bunlong avatar Jan 26 '22 17:01 Bunlong

LGTM 👍 We do however need to figure out how to type the props from the render function.

<CSVReader>
{/* How to type these props? */}
{({ getRootProps, acceptedFile, ProgressBar, getRemoveFileProps, Remove }) => (
  return <>Foo</>
)}
</CSVReader>

MichielDeMey avatar Jan 27 '22 13:01 MichielDeMey

@MichielDeMey

Yes, I got it. If you have any more ideas or suggestions please kindly let us know. We very much appreciate for your contribution. :+1:

Bunlong avatar Jan 27 '22 17:01 Bunlong