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

Changing header in the config does not seem to be working #115

Closed jadenmazzone closed 2 years ago

jadenmazzone commented 2 years ago

Adding header in the config set to true does not seem to do anything...

const { CSVReader } = useCSVReader();    
<CSVReader
    config={{header:true}}

>

Version 4.0.0

jonstacks commented 2 years ago

@Bunlong, thanks for fixing this so fast. I just updated to 4.0.1 and passing in the header config is working for me now.

Bunlong commented 2 years ago

@jonstacks, my pleasure!