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

Download QR Code. #1

Open
prafuldivani opened this issue Jul 6, 2023 · 3 comments
Open

Download QR Code. #1

prafuldivani opened this issue Jul 6, 2023 · 3 comments

Comments

@prafuldivani
Copy link

No description provided.

@prafuldivani
Copy link
Author

@iofjuupasli. I would like to add a download feature to this repository. Should I proceed with that?

@iofjuupasli
Copy link
Owner

If it's easy to render the component to a string, and handle the downloading outside, then, I think, it's better to keep it outside the package. Consider creating a new independent package that would allow to download/export any react component

@prafuldivani
Copy link
Author

I have found a solution that works perfectly with SVG and PNG. I implemented it using canvas.getContext('2d').

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