Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to add CSVDownloader button attributes? #131

Open
brandondurham opened this issue Mar 16, 2022 · 1 comment
Open

Possible to add CSVDownloader button attributes? #131

brandondurham opened this issue Mar 16, 2022 · 1 comment

Comments

@brandondurham
Copy link

I’d like to add some custom attributes (className, data-* attributes, etc.) to the button that CSVDownloader renders. Is this possible?

@TimJJTing
Copy link

TimJJTing commented Sep 14, 2022

Looking forward to having this feature too!
I'm also wondering, would it be even better to export download() from useCSVDownloader directly so that users can freely implement downloading with whatever html elements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants