README
React File Download
React component to trigger browser to save data to file as if it was downloaded.
Installation
npm install react-file-download --save
Usage
var fileDownload = require('react-file-download');
fileDownload(data, 'filename.csv');