title: REACTJS modify column data in CSV
body: <p>I get a csv with multiple columns from the backend, but I would like to change the data in a column before exporting this csv as a report.
  Today I am using the react-csv library to export the report.</p>
  <p>The column I want to modify is the Type. Currently she returns the values ​​Product and Service. Instead of displaying Product I would like to display New Product and instead of Service I would like to display Used Product</p>
  <p>report:</p>
  <pre><code>&quot;Title&quot;,&quot;Type&quot;,&quot;Advertiser&quot;,&quot;Category&quot;
  &quot;2 plots of 15x35 - R $ 15,000.00 each&quot;,&quot;product&quot;,&quot;LUIZ FABIANO DE OLIVEIRA0&quot;,&quot;Properties&quot;
  &quot;3 Industrial machines&quot;,&quot;service&quot;,&quot;GISELE SANTANA&quot;,&quot;services&quot;
  </code></pre>
  <p>code:</p>
  <pre><code>export default function exem() {
      const [dataExport, setDataExport] = React.useState([]);
  
      function getCSV() {
          request
              .get(urlGetCSV() + `&amp;page=${page}`)
              .text()
              .then(response =&gt; {
                  setDataExport(response)
              });
      }
      return (
          &lt;&gt;
              &lt;CSVLink
                  data={dataExport}
                  filename={`report-${new Date().toLocaleString()}.csv`}
                  onClick={getCSV}
              &gt;
                  &lt;Button&gt;
                      Report
                    &lt;Button.Icon&gt;
                          &lt;ReportIcon /&gt;
                      &lt;/Button.Icon&gt;
                  &lt;/Button&gt;
              &lt;/CSVLink&gt;
          &lt;/&gt;
      )
  }
  </code></pre>