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

[feat] Download component #15

Open
2 tasks
kunyan opened this issue Apr 22, 2020 · 1 comment
Open
2 tasks

[feat] Download component #15

kunyan opened this issue Apr 22, 2020 · 1 comment
Labels
feature New feature

Comments

@kunyan
Copy link
Contributor

kunyan commented Apr 22, 2020

The Download component will provide as a Button show end user.

When user clicked it. it could fetch some file/stream and send to browser as download behaviour

  • support icon in button
  • support custom filename

We will use FileSaver to implement

@kunyan kunyan added the feature New feature label Apr 22, 2020
@kunyan
Copy link
Contributor Author

kunyan commented Apr 22, 2020

I think add mime to detect file mime type is a good way
User just need set the filename. Download component will handle mime for them.

The mime also could custom

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

No branches or pull requests

1 participant