Download Data
Display a standalone button to download a specified dataset as a CSV file. Note that this component is not visible on small screen widths.
<DownloadData data={categories}/>
Examples
Custom Text
<DownloadData data={categories} text="Click Here"/>
Custom Query ID
<DownloadData data={categories} queryID=my_file/>
Options
Required
Query name, wrapped in curly braces
- Options:
- query name
Label to show on the link
- Options:
- string
- Default:
- Download
Label to include as the start of the CSV filename. If no queryID is supplied, "evidence_download" is used.
- Options:
- string