download csv on click npm code example Example: download comma separated file, react npm install react-csv --save;