Generate pattern library for components

This commit is contained in:
abdennour 2017-02-18 12:11:34 +03:00
commit 83e13c8b36
11 changed files with 193 additions and 4 deletions

View file

@ -0,0 +1,15 @@
Basic example
```html
const data = [
['name', 'age'],
['Ahmed', 12],
['John', 8]
];
<CSVDownload data={data} />
```
## Note:
> We avoid to make live examples for `CSVDownload` component, since mounting
> this component triggers the download directly.
> Please, check the next component since you can test it directly.