1 year ago

#387217

test-img

Sathish Kumar Perumal

Styling downloading report in react-csv package

Using React-csv npm package for downloading csv file. Is it possible to apply CSS to the report which we downloading?.I need to style it with logo and CSS stuffs. How to do styling in that? And I have big file name I need to break it into two lines. How to break them in two lines?

<ExportCSV
  csvData={reportData}
  fileName={
    "Name:" +
    reportType +
    "_" +
    " transactions" +
    " " +
    " " +
    " Period:" +
    moment(intervalStart).format("LL") +
    "-" +
    moment(intervalEnd).format("LL")
  }

  //onDownload={props.confirmExport}
></ExportCSV>

reactjs

csv

npm

package

styling

0 Answers

Your Answer

Accepted video resources