react-csv/README.md
abdennour 41d2cd8b9c 🌎 🌍 🌏 initial commit
2016-11-25 15:59:50 +03:00

15 lines
299 B
Markdown

# Overview :
```js
import {CSVLink} from 'react-csv';
const csvData =[
['firstname', 'lastname', 'email'] ,
['Ahmed', 'Tomi' , 'ah@smthing.co.com'] ,
['Raed', 'Labes' , 'rl@smthing.co.com'] ,
['Yezzi','Min l3b', 'ymin@cocococo.com']
];
<CSVLink data={csvData} >Download me</CSVLink>
```